Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ _unlink
Function
_unlink
dvc/utils/fs.py:55–59 ·
view source on GitHub ↗
(path, onerror)
Source
from the content-addressed store, hash-verified
53
54
55
def
_unlink(path, onerror):
56
try
:
57
os.unlink(path)
58
except
OSError:
59
onerror(os.unlink, path, sys.exc_info())
60
61
62
def
remove(path):
Callers
1
remove
Function · 0.85
Calls
2
unlink
Method · 0.80
onerror
Function · 0.50
Tested by
no test coverage detected