STRUCT
Tuist.Cache
Contents
- Properties
upload
- Methods
cache(upload:)
swift
public struct Cache: Codable, Equatable, SendableOptions for configuring the Xcode Cache behavior.
Properties
upload
swift
public let upload: BoolWhen true (default), the local proxy uploads artifacts to the remote cache. Set to false for read-only mode (downloads only, no uploads).
Methods
cache(upload:)
swift
public static func cache(upload: Bool = true) -> SelfCreates cache options.
- Parameter upload: Whether to upload artifacts to the remote cache. Defaults to
true.
Parameters
| Name | Description |
|---|---|
| upload | Whether to upload artifacts to the remote cache. Defaults to true. |
