Eng Zer Jun and Brad Fitzpatrick
f0347e841f
refactor: move from io/ioutil to io and os packages
...
The io/ioutil package has been deprecated as of Go 1.16 [1]. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
Reference: https://golang.org/doc/go1.16#ioutil
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2022-09-15 21:45:53 -07:00
Maisem Ali and Maisem Ali
23f37b05a3
atomicfile: update docs to clarify behavior of argument
...
Signed-off-by: Maisem Ali <maisem@tailscale.com >
2022-08-13 21:31:40 -07:00
Brad Fitzpatrick
df674d4189
atomicfile: don't Chmod on windows
...
Not supported.
2020-07-15 12:31:40 -07:00
Brad Fitzpatrick and Brad Fitzpatrick
bcbd41102c
atomicfile: use ioutil.TempFile, sync
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-07-14 21:58:06 -07:00
David Anderson
315a5e5355
scripts: add a license header checker.
...
Signed-off-by: David Anderson <dave@natulte.net >
2020-03-17 21:34:44 -07:00
Earl Lee
a8d8b8719a
Move Linux client & common packages into a public repo.
2020-02-09 09:32:57 -08:00