Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ _run
Method
_run
dvc/commands/git_hook.py:28–31 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
26
27
class
CmdPreCommit(CmdHookBase):
28
def
_run(self):
29
from
dvc.cli
import
main
30
31
return
main([
"status"
])
32
33
34
class
CmdPostCheckout(CmdHookBase):
Callers
nothing calls this directly
Calls
1
main
Function · 0.90
Tested by
no test coverage detected