Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
ENUM
FileElement Contents
glob(pattern:)folderReference(path:)public enum FileElement: Codable, Equatable, SendableA file element from a glob pattern or a folder reference.
Note: For convenience, an element can be represented as a string literal "some/pattern/**" is the equivalent of FileElement.glob(pattern: "some/pattern/**")
glob(pattern:) case glob(pattern: Path)A file path (or glob pattern) to include. For convenience, a string literal can be used as an alternate way to specify this option.
folderReference(path:) case folderReference(path: Path)A directory path to include as a folder reference.