Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicReplaceFile ¶
AtomicReplaceFile atomically replaces targetPath with tempPath. tempPath and targetPath must be on the same filesystem.
func AtomicWriteNewFile ¶ added in v0.23.1
AtomicWriteNewFile atomically installs tempPath at targetPath only if targetPath does not already exist. tempPath and targetPath must be on the same filesystem.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.