# Functions
ListFiles lists the files at target path.
NewPendingFile creates a temporary file destined to atomically creating or replacing the destination file at path when closing.
No description provided by the author
Walk implements filepath.Walk but allows to also resolve symlinks.
WithNoRenameOnClose causes PendingFile.Close() to actually not call CloseAtomicallyReplace() and just call Close on its temporary file.
WithPermissions sets the permissions for the target file.
WithSyncBeforeRename configure safe file to do a sync before renaming, default is true.
WriteSafeFile mirrors os.WriteFile, replacing an existing file with the same name atomically.
# Structs
No description provided by the author
PendingFile is a pending temporary file, waiting to replace the destination path in a call to CloseAtomicallyReplace.
# Interfaces
Option is the interface implemented by all configuration function return values.
SafeWriter implements 'safe' writes by writing to a temporary file and renaming the temporary file when closing.