FileTimestampUpdate
Owns one explicit file timestamp update policy. This value retains no resource and allocates nothing. Exact times may be negative; conversion checks native representability before applying either timestamp. Now is sampled by the native operation, not enum construction. Shared mutation requires synchronization. Native precision may be coarser than nanoseconds; requested exact values are not a storage-precision guarantee.
Module std.fs
import std.fs;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
FileTimestampUpdate
pub enum FileTimestampUpdateOwns one explicit file timestamp update policy. This value retains no resource and allocates nothing. Exact times may be negative; conversion checks native representability before applying either timestamp. Now is sampled by the native operation, not enum construction. Shared mutation requires synchronization. Native precision may be coarser than nanoseconds; requested exact values are not a storage-precision guarantee.
FileTimestampUpdate.Keep
Keep;Preserves this timestamp without sampling the clock.
FileTimestampUpdate.Now
Now;Requests the native operation's current wall time.
FileTimestampUpdate.Exact
Exact;Requests checked epoch-relative wall time.
FileTimestampUpdate.Exact.Value
Value: Timestamp;