Language

TarDirectory.DeterministicTimestamp Property

Definition

Gets or sets an optional timestamp to stamp on every entry in the archive in place of the source files' last-write times. Supplying this value makes the produced archive reproducible across machines and runs. The value may be an RFC 3339 date-time (for example, 2024-01-01T00:00:00Z) or an integer number of seconds since the Unix epoch (for example, 1704067200, which is also the form of SOURCE_DATE_EPOCH). When empty, each entry keeps its source file's last-write time (entries are always written in a deterministic order regardless of this value). This parameter is optional.

public:
 property System::String ^ DeterministicTimestamp { System::String ^ get(); void set(System::String ^ value); };
public string? DeterministicTimestamp { get; set; }
member this.DeterministicTimestamp : string with get, set
Public Property DeterministicTimestamp As String

Property Value

Applies to