databricks-cli/libs/sync
Pieter Noordhuis 077304ffa1
Move path checking logic for sync command to libs/sync (#176)
This change also adds testcases for checking if the specified path is
nested under the valid base paths and fixes an edge case where the user
could synchronize into their home directory directly.

Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
2023-01-24 13:58:10 +01:00
..
repofiles Move sync logic from cmd/sync to libs/sync (#173) 2023-01-23 13:52:39 +01:00
diff.go Move diff struct to its own file (#175) 2023-01-24 11:06:14 +01:00
path.go Move path checking logic for sync command to libs/sync (#176) 2023-01-24 13:58:10 +01:00
path_test.go Move path checking logic for sync command to libs/sync (#176) 2023-01-24 13:58:10 +01:00
snapshot.go Move diff struct to its own file (#175) 2023-01-24 11:06:14 +01:00
snapshot_test.go Remove dependency on project package in libs/sync (#174) 2023-01-24 08:30:10 +01:00
sync.go Move path checking logic for sync command to libs/sync (#176) 2023-01-24 13:58:10 +01:00
watchdog.go Remove dependency on project package in libs/sync (#174) 2023-01-24 08:30:10 +01:00