You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Brad Fitzpatrick 01ee638cca Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors.
os.IsNotExist doesn't unwrap errors. errors.Is does.

The ioutil.ReadFile ones happened to be fine but I changed them so
we're consistent with the rule: if the error comes from os, you can
use os.IsNotExist, but from any other package, use errors.Is.
(errors.Is always would also work, but not worth updating all the code)

The motivation here was that we were logging about failure to migrate
legacy relay node prefs file on startup, even though the code tried
to avoid that.

See golang/go#41122
5 years ago
..
ipnserver ipn/ipnserver: move Windows local disk logging up to the parent process 5 years ago
ipnstate Revert "all: keep UserProfiles a slice instead of a map for longer" 5 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 6 years ago
backend.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 5 years ago
doc.go Move Linux client & common packages into a public repo. 6 years ago
fake_test.go cmd/tailscale/cli: add basic 'down' subcommand 5 years ago
handle.go ipn: add Login backend command for sign-in with token 5 years ago
local.go Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors. 5 years ago
loglines_test.go ipn: don't log redundant peer stats so often 5 years ago
message.go version: use OSS repo's version when building. 5 years ago
message_test.go ipn: add Login backend command for sign-in with token 5 years ago
prefs.go ipn: use cmd/cloner for Prefs.Clone 5 years ago
prefs_clone.go ipn: use cmd/cloner for Prefs.Clone 5 years ago
prefs_test.go Change some os.IsNotExist to errors.Is(err, os.ErrNotExist) for non-os errors. 5 years ago
store.go ipn, ipnserver, cmd/tailscale: add "server mode" support on Windows 5 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 6 years ago