Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicWriteFile ¶
nolint:godox TODO: func AtomicWriteFile(fs afero.Fs, filename string, r *bytes.Reader, mode os.FileMode) error {
func RenameWithFallback ¶
RenameWithFallback attempts to rename a file or directory, but falls back to copying in the event of a cross-device link error. If the fallback copy succeeds, src is still removed, emulating normal rename behavior.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.