Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/iterative/cml
/ branch
Method
branch
src/cml.js:152–155 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
150
}
151
152
async
branch() {
153
const
{ branch } = this.getDriver();
154
return
branch || (
await
exec(
'git'
,
'branch'
,
'--show-current'
));
155
}
156
157
getDriver() {
158
const
{ driver, repo, token } = this;
Callers
1
prCreate
Method · 0.95
Calls
2
getDriver
Method · 0.95
exec
Function · 0.85
Tested by
no test coverage detected