Skip to content

번역

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

기여

ENUM

SourceFileGlob.FileType

Contents

  • Cases
    • alwaysPresent
    • generated
swift
public enum FileType: String, Codable, Sendable

Type of the source file.

Cases

alwaysPresent

swift
case alwaysPresent

File is already present on disk before generating the project.

generated

swift
case generated

File is generated, meaning it wasn't initially present on disk at the time of project generation. For example, a file created by a pre-build phase script.

  • Important: Since generated files do not exist at the time of project generation, their content cannot be hashed, which affects the ability to identify changes in their content during caching. Note that specifically for files generated by a pre-build phase script, the input and output file paths are part of the target's hash, if they are specified.

Released under the MIT License.