Skip to content

번역

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

기여

STRUCT

FileList

Contents

swift
public struct FileList: Codable, Equatable, Sendable

A collection of file globs.

The list of files can be initialized with a string that represents the glob pattern, or an array of strings, which represents a list of glob patterns.

Properties

globs

swift
public let globs: [FileListGlob]

Glob pattern to the files.

Methods

list(_:)

swift
public static func list(_ globs: [FileListGlob]) -> FileList

Creates a file list from a collection of glob patterns.

  • glob: Relative glob pattern.
  • excluding: Relative glob patterns for excluded files.

Released under the MIT License.