mirror of https://github.com/databricks/cli.git
c9b4f11947
## Changes From the [documentation](https://pkg.go.dev/os#IsNotExist) on the functions in the `os` package: > This function predates errors.Is. It only supports errors returned by the os package. > New code should use errors.Is(err, fs.ErrNotExist). This issue surfaced while working on using a different `vfs.Path` implementation that uses errors from the `fs` package. Calls to `os.IsNotExist` didn't return true for errors that wrap `fs.ErrNotExist`. ## Tests n/a |
||
---|---|---|
.. | ||
testdata/sync-fileset | ||
diff.go | ||
diff_test.go | ||
dirset.go | ||
dirset_test.go | ||
event.go | ||
event_test.go | ||
path.go | ||
path_test.go | ||
snapshot.go | ||
snapshot_state.go | ||
snapshot_state_test.go | ||
snapshot_test.go | ||
sync.go | ||
sync_test.go | ||
watchdog.go |