Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ protect
Method
protect
dvc/compare.py:42–43 ·
view source on GitHub ↗
(self, *col_names: str)
Source
from the content-addressed store, hash-verified
40
return
col_name in self._protected
41
42
def
protect(self, *col_names: str):
43
self._protected.update(col_names)
44
45
def
unprotect(self, *col_names: str):
46
self._protected = self._protected.difference(col_names)
Callers
4
test_protected
Function · 0.95
show_experiments
Function · 0.80
test_is_protected
Function · 0.80
test_protect_ignore_errors
Function · 0.80
Calls
1
update
Method · 0.45
Tested by
3
test_protected
Function · 0.76
test_is_protected
Function · 0.64
test_protect_ignore_errors
Function · 0.64