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 | ||
detect.go | ||
detect_jupyter.go | ||
detect_jupyter_test.go | ||
detect_test.go | ||
ext.go |