MCPcopy
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_protectedFunction · 0.95
show_experimentsFunction · 0.80
test_is_protectedFunction · 0.80

Calls 1

updateMethod · 0.45

Tested by 3

test_protectedFunction · 0.76
test_is_protectedFunction · 0.64