Skip to content

번역

이 페이지를 번역하거나 기존 번역을 개선할 수 있습니다.

기여

STRUCT

SourceFilesList

Contents

swift
public struct SourceFilesList: Codable, Equatable, Sendable

A collection of source file globs.

Properties

globs

swift
public var globs: [SourceFileGlob]

List glob patterns.

Methods

sourceFilesList(globs:)

swift
public static func sourceFilesList(globs: [SourceFileGlob]) -> Self

Creates the source files list with the glob patterns.

  • Parameter globs: Glob patterns.

Parameters

NameDescription
globsGlob patterns.

sourceFilesList(globs:)

swift
public static func sourceFilesList(globs: [String]) -> Self

Creates the source files list with the glob patterns as strings.

  • Parameter globs: Glob patterns.

Parameters

NameDescription
globsGlob patterns.

paths(_:)

swift
public static func paths(_ paths: [Path]) -> SourceFilesList

Returns a sources list from a list of paths.

  • Parameter paths: Source paths.

Parameters

NameDescription
pathsSource paths.

Released under the MIT License.