databricks-cli/internal
Pieter Noordhuis 349e2aff40
Allow equivalence checking of filer errors to fs errors (#416)
## Changes

The pattern `errors.Is(err, fs.ErrNotExist)` is common to check for an
error type.

Errors can implement `Is(error) bool` with a custom equivalence checker.

## Tests

New asserts all pass in the integration test.
2023-05-31 20:47:00 +02:00
..
build Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
api_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
clusters_test.go Do not prompt for List methods (#411) 2023-05-26 16:02:53 +02:00
filer_test.go Allow equivalence checking of filer errors to fs errors (#416) 2023-05-31 20:47:00 +02:00
helpers.go Do not prompt for List methods (#411) 2023-05-26 16:02:53 +02:00
locker_test.go Reduce parallellism in locker integration test (#407) 2023-05-25 15:22:51 +02:00
secrets_test.go Do not prompt for List methods (#411) 2023-05-26 16:02:53 +02:00
sync_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
version_test.go Add version flag to print version and exit (#394) 2023-05-22 20:55:42 +02:00
workspace_test.go Do not prompt for List methods (#411) 2023-05-26 16:02:53 +02:00