Shreyas Goenka
e9a309e85d
removes not a directory error
2023-06-06 00:34:09 +02:00
Shreyas Goenka
14b63d0326
-
2023-06-06 00:27:02 +02:00
Shreyas Goenka
ae09abf1f5
-
2023-06-06 00:26:41 +02:00
Shreyas Goenka
bb175469f0
-
2023-06-06 00:25:12 +02:00
Shreyas Goenka
709987448a
Merge remote-tracking branch 'origin' into import_dir
2023-06-02 00:18:12 +02:00
Shreyas Goenka
931fae1fd4
add check for isdir in readdir
2023-06-02 00:06:49 +02:00
Pieter Noordhuis
2b56af6016
Add Stat function to filer.Filer interface ( #421 )
...
## Changes
TSIA
## Tests
New integration test passes.
2023-06-01 20:23:22 +02:00
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
Pieter Noordhuis
42cd8daee0
Make filer.Filer return fs.DirEntry from ReadDir ( #415 )
...
## Changes
This allows for compatibility with the stdlib functions in io/fs.
## Tests
Integration tests pass.
2023-05-31 14:22:26 +02:00
Pieter Noordhuis
27df4e765c
Implement DBFS filer ( #139 )
...
Adds a DBFS implementation of the `filer.Filer` interface.
The integration tests are reused between the workspace filesystem and
DBFS implementations to ensure identical behavior.
2023-05-31 13:24:20 +02:00
Pieter Noordhuis
92cb52041d
Add Mkdir and ReadDir functions to filer.Filer interface ( #414 )
...
## Changes
This cherry-picks the filer changes from #408 .
## Tests
Manually ran integration tests.
2023-05-31 11:11:17 +02:00
shreyas-goenka
ae09eb02d5
Path escape file path in filer interface ( #254 )
2023-03-17 17:42:35 +01:00
Pieter Noordhuis
65b3f998ba
Escape URL in filer ( #236 )
...
Also see #228 .
2023-03-08 14:27:05 +01:00
Pieter Noordhuis
414ea4f891
Bump databricks-sdk-go to 0.3.2 ( #215 )
2023-02-20 16:00:20 +01:00
Pieter Noordhuis
a59136f77f
Use []byte for files in workspace ( #162 )
2023-01-05 12:03:31 +01:00
Pieter Noordhuis
32a37c1b83
Use filer.Filer in bundle/deployer/locker ( #136 )
...
Summary:
* All remote path arguments for deployer and locker are now relative to
root specified at initialization
* The workspace client is now a struct field so it doesn't have to be
passed around
2022-12-15 17:16:07 +01:00
Pieter Noordhuis
4e834857e6
Extract filer path handling into separate type ( #138 )
...
This makes it reusable for the DBFS filer.
2022-12-14 23:41:37 +01:00
Pieter Noordhuis
12aae35519
Abstract over file handling with WSFS or DBFS through filer interface ( #135 )
2022-12-14 15:37:14 +01:00