mirror of https://github.com/databricks/cli.git
c3b02d9321
Since there is no .git directory in Workspace file system, we need to make an API call to fetch git checkout status (root of the repo, current branch, etc). (api/2.0/workspace/get-status?return_git_info=true). Refactor Repository to accept repository root rather than calculate it. This helps, because Repository is currently created in multiple places and finding the repository root is expensive. |
||
---|---|---|
.. | ||
testdata/sync-fileset | ||
diff.go | ||
diff_test.go | ||
dirset.go | ||
dirset_test.go | ||
event.go | ||
event_test.go | ||
output.go | ||
path.go | ||
path_test.go | ||
snapshot.go | ||
snapshot_state.go | ||
snapshot_state_test.go | ||
snapshot_test.go | ||
sync.go | ||
sync_test.go | ||
watchdog.go |