Documentation
¶
Overview ¶
Package fileutil provides internal cross-platform filesystem operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreserveGroup ¶ added in v0.16.0
PreserveGroup gives a staged source the existing destination's group without changing ordinary permission bits. A missing destination leaves the source's inherited group unchanged.
func RemoveFile ¶
RemoveFile removes path and succeeds if path does not exist.
func ReplaceFile ¶
ReplaceFile renames source over destination, preserving the destination's group where supported.
func SyncDirectory ¶
SyncDirectory flushes directory metadata to stable storage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.