1
0
mirror of https://github.com/Luzifer/password.git synced 2024-09-20 02:42:57 +00:00
password/vendor/github.com/tredoe/osutil/TODO.md
Knut Ahlers 8af625be60
Fix: Vendor new dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-06 22:59:38 +02:00

756 B

pkg

Check the error code returned at testing.

file

edit.go: the comment character used by default

Copy with options: (overwrite)

type option int

const ( _ option = iota ARCHIVE // preserve all attributes

BACKUP  // make a backup of each existing destination file

ATTRIBUTES // only copy attributes
HLINK     // make hard link instead of copying
SLINK     // make symbolic links instead of copying

DEREFERENCE // always follow symbolic links in SOURCE

RECURSIVE // copy directories recursively

UPDATE // copy only when the source file is newer than the destination file
       // or when the destination file is missing

)

sh

doc. about the usage of Installer since it uses a logger into a directory installed by such tool.