File: TODO.md

package info (click to toggle)
golang-github-tredoe-osutil 1.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 476 kB
  • sloc: makefile: 4
file content (36 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## 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.