Skip to content

Translation 🌍

You can translate or improve the translation of this page.

Contribute

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.