Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ run
Method
run
dvc/commands/root.py:11–16 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
9
10
class
CmdRoot(CmdBaseNoRepo):
11
def
run(self):
12
from
dvc.repo
import
Repo
13
from
dvc.ui
import
ui
14
15
ui.write(relpath(Repo.find_root()))
16
return
0
17
18
19
def
add_parser(subparsers, parent_parser):
Callers
nothing calls this directly
Calls
3
relpath
Function · 0.90
write
Method · 0.80
find_root
Method · 0.80
Tested by
no test coverage detected