databricks-cli/libs/sync
Miles Yucht 946906221d
Delete sync snapshots file when destroying a bundle (#323)
## Changes
This PR changes the files.Delete() mutator to delete the sync snapshots
file on destroy. This ensures that files will be uploaded when the
bundle is uploaded again.

## Tests
- [x] Manual test: Ran `bricks bundle destroy`, observed that the sync
snapshots file was deleted.
2023-04-11 16:57:01 +02:00
..
repofiles Path escape filepaths in the URL (#250) 2023-03-15 17:25:57 +01:00
diff.go Add optional JSON output for sync command (#230) 2023-03-08 10:27:19 +01:00
event.go Drain sync event channel before returning (#253) 2023-03-16 17:48:17 +01:00
event_test.go Add optional JSON output for sync command (#230) 2023-03-08 10:27:19 +01:00
path.go Use new logger throughout codebase (#256) 2023-03-17 15:17:31 +01:00
path_test.go Allow synchronization to a directory inside a repo (#213) 2023-02-20 14:34:48 +01:00
snapshot.go Delete sync snapshots file when destroying a bundle (#323) 2023-04-11 16:57:01 +02:00
snapshot_test.go Use new logger throughout codebase (#256) 2023-03-17 15:17:31 +01:00
sync.go Delete sync snapshots file when destroying a bundle (#323) 2023-04-11 16:57:01 +02:00
watchdog.go Let sync return early if an error occurs (#235) 2023-03-09 13:29:05 +01:00