Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Atomic ¶
type Atomic struct{}
Atomic exposes an interface to atomicly write config files to the filesystem
func (Atomic) Sync ¶
Sync atomicly writes data to a file at the given path with the given permissions
If the parent directory does not exit it is created If the file already exists and diff returns 0 then this command is a noopp Requires the diff utility to be present on the system, since it is specified in POSIX we assume it is
Click to show internal directories.
Click to hide internal directories.