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 | ||
testdata_view_ignore | ||
clone.go | ||
clone_test.go | ||
config.go | ||
config_test.go | ||
fileset.go | ||
fileset_test.go | ||
ignore.go | ||
ignore_test.go | ||
reference.go | ||
reference_test.go | ||
repository.go | ||
repository_test.go | ||
view.go | ||
view_test.go |