MCPcopy
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
10class 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
19def add_parser(subparsers, parent_parser):

Callers

nothing calls this directly

Calls 3

relpathFunction · 0.90
writeMethod · 0.80
find_rootMethod · 0.80

Tested by

no test coverage detected