Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Write ¶
Write atomically replaces path with data. Creates parent directories if needed. Uses temp file in same directory + fsync + rename. Cleans up temp file on any error. Preserves the existing file's permission bits when the target already exists. New files are created with mode 0o644 (world- readable), matching the convention used throughout gale for config files, lock files, and generated README files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.