Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/treeverse/dvc
/ is_protected
Method
is_protected
dvc/compare.py:39–40 ·
view source on GitHub ↗
(self, col_name)
Source
from the content-addressed store, hash-verified
37
return
list(map(self.column, self.keys()))
38
39
def
is_protected(self, col_name) -> bool:
40
return
col_name in self._protected
41
42
def
protect(self, *col_names: str):
43
self._protected.update(col_names)
Callers
2
drop
Method · 0.95
test_is_protected
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_is_protected
Function · 0.64