databricks-cli/cmd/sync
Denis Bilenko c3b02d9321 Properly read git metadata when inside Workspace
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.
2024-12-02 11:29:06 +01:00
..
completion.go Update to Go SDK v0.8.0 (#351) 2023-04-21 10:30:20 +02:00
sync.go Properly read git metadata when inside Workspace 2024-12-02 11:29:06 +01:00
sync_test.go Rename `RootPath` -> `BundleRootPath` (#1792) 2024-09-27 10:03:05 +00:00