Josh Bleecher Snyder
61e411344f
logtail/filch: add staticcheck annotation
...
To work around a staticcheck bug when running with GOOS=windows.
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
2021-05-04 08:54:50 -07:00
Brad Fitzpatrick
d6e9fb1df0
all: adjust Unix permissions for those without umasks
...
Fixes tailscale/corp#1165
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-01-11 19:24:41 -08:00
Brad Fitzpatrick
7a2a3955d3
logtail/filch: skip a broken test on Windows
...
Add a TODO with some notes about why it's skipped for now.
Updates #50
2020-10-14 21:33:01 -07:00
Josh Bleecher Snyder
585a0d8997
all: use testing.T.TempDir
...
Bit of Friday cleanup.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2020-10-02 20:31:31 -07:00
Avery Pennarun
5eb09c8f5e
filch_test: clarify the use of os.RemoveAll().
...
Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
2020-05-27 18:50:44 -04:00
David Crawshaw
51a12d1307
filch: a few minor comments
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2020-03-20 13:20:45 +11:00
David Anderson
de0239375a
logtail/filch: use x/sys/unix instead of syscall.
...
In particular, the Dup2 syscall is not defined in the syscall
package on arm64, but is defined in x/sys/unix.
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-13 23:56:39 -08:00
David Anderson
80ecb8342f
logtail/filch: use io's seek constants.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:32:14 -08:00
Earl Lee
a8d8b8719a
Move Linux client & common packages into a public repo.
2020-02-09 09:32:57 -08:00