databricks-cli/libs/sync
shreyas-goenka e008c2bd8c
Cleanup remote file path on bundle destroy (#1374)
## Changes
The sync struct initialization would recreate the deleted `file_path`.
This PR moves to not initializing the sync object to delete the
snapshot, thus fixing the lingering `file_path` after `bundle destroy`.

## Tests
Manually, and a integration test to prevent regression.
2024-04-19 11:48:04 +00:00
..
testdata/sync-fileset
diff.go
diff_test.go
dirset.go
dirset_test.go
event.go
event_test.go
path.go
path_test.go
snapshot.go Cleanup remote file path on bundle destroy (#1374) 2024-04-19 11:48:04 +00:00
snapshot_state.go Added deployment state for bundles (#1267) 2024-03-18 14:41:58 +00:00
snapshot_state_test.go
snapshot_test.go
sync.go Cleanup remote file path on bundle destroy (#1374) 2024-04-19 11:48:04 +00:00
sync_test.go Added deployment state for bundles (#1267) 2024-03-18 14:41:58 +00:00
watchdog.go