STRUCT
FileListGlob
Contents
- Properties
globexcluding
- Methods
glob(_:excluding:)glob(_:excluding:)
swift
public struct FileListGlob: Codable, Equatable, SendableA glob pattern that refers to files.
Properties
glob
swift
public var glob: PathThe path with a glob pattern.
excluding
swift
public var excluding: [Path]The excluding paths.
Methods
glob(_:excluding:)
swift
public static func glob(
_ glob: Path,
excluding: [Path] = []
) -> FileListGlobReturns a generic file list glob.
- Parameters:
- glob: The path with a glob pattern.
- excluding: The excluding paths.
Parameters
| Name | Description |
|---|---|
| glob | The path with a glob pattern. |
| excluding | The excluding paths. |
glob(_:excluding:)
swift
public static func glob(
_ glob: Path,
excluding: Path?
) -> FileListGlobReturns a file list glob with an optional excluding path.
