Skip to content

STRUCT

Tuist.Cache

Contents

swift
public struct Cache: Codable, Equatable, Sendable

Options for configuring the Xcode Cache behavior.

Properties

upload

swift
public let upload: Bool

When 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) -> Self

Creates cache options.

  • Parameter upload: Whether to upload artifacts to the remote cache. Defaults to true.

Parameters

NameDescription
uploadWhether to upload artifacts to the remote cache. Defaults to true.

Released under the MIT License.