mirror of https://github.com/databricks/cli.git
14 lines
459 B
Go
14 lines
459 B
Go
package config
|
|
|
|
type Git struct {
|
|
Branch string `json:"branch,omitempty"`
|
|
OriginURL string `json:"origin_url,omitempty"`
|
|
Commit string `json:"commit,omitempty" bundle:"readonly"`
|
|
|
|
// Inferred is set to true if the Git details were inferred and weren't set explicitly
|
|
Inferred bool `json:"-" bundle:"readonly"`
|
|
|
|
// The actual branch according to Git (may be different from the configured branch)
|
|
ActualBranch string `json:"-" bundle:"readonly"`
|
|
}
|