MCPcopy
hub / github.com/gitless-vcs/gitless / _ref_rm

Method _ref_rm

gitless/core.py:162–165  ·  view source on GitHub ↗
(self, ref)

Source from the content-addressed store, hash-verified

160 return False
161
162 def _ref_rm(self, ref):
163 ref_path = os.path.join(self.path, ref)
164 if os.path.exists(ref_path):
165 os.remove(ref_path)
166
167 def _ref_create(self, ref, value):
168 ref_path = os.path.join(self.path, ref)

Callers 2

saveMethod · 0.95
_state_cleanupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected