Expand description
Compatibility re-exports for persistence now owned by shine-core.
Functions§
- atomic_
write - Durably writes
contentstopath. - atomic_
write_ private - Durably writes a private file with owner-only permissions on Unix.
- finalize_
temp - Renames
tempoverdest, for callers that already wrote/streamed their own temp file (e.g. large-file copies) and only need the finalize step. - load_
toml_ or_ default - Loads and parses a TOML file at
path, or returnsT::default()if it doesn’t exist yet.whatis a human-readable label used in error messages (e.g."app manifest"). - save_
toml_ atomic - Serializes
valueas pretty TOML and atomically writes it topath.whatis a human-readable label used in error messages.