databricks-cli/libs/filer
Pieter Noordhuis 960ce2e18e
Add implementation of filer.Filer for local filesystem (#460)
## Changes

Local file reads on Windows require the file handle to be closed after
using it. This commit includes an interface change to return an
`io.ReadCloser` from `Read` to accommodate this.

## Tests

The existing integration tests for the filer interface all pass.
2023-06-12 15:53:58 +02:00
..
dbfs_client.go Add implementation of filer.Filer for local filesystem (#460) 2023-06-12 15:53:58 +02:00
filer.go Add implementation of filer.Filer for local filesystem (#460) 2023-06-12 15:53:58 +02:00
fs.go Add fs.FS adapter for the filer interface (#422) 2023-06-02 12:49:59 +00:00
fs_test.go Add implementation of filer.Filer for local filesystem (#460) 2023-06-12 15:53:58 +02:00
local_client.go Add implementation of filer.Filer for local filesystem (#460) 2023-06-12 15:53:58 +02:00
root_path.go Add Mkdir and ReadDir functions to filer.Filer interface (#414) 2023-05-31 11:11:17 +02:00
root_path_test.go Add Mkdir and ReadDir functions to filer.Filer interface (#414) 2023-05-31 11:11:17 +02:00
slice.go Abstract over file handling with WSFS or DBFS through filer interface (#135) 2022-12-14 15:37:14 +01:00
slice_test.go Abstract over file handling with WSFS or DBFS through filer interface (#135) 2022-12-14 15:37:14 +01:00
workspace_files_client.go Add implementation of filer.Filer for local filesystem (#460) 2023-06-12 15:53:58 +02:00