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

Method _state_cleanup

gitless/core.py:1146–1150  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1144 self._safe_restore(_stash_msg_fuse, restore_fn=restore_fn)
1145
1146 def _state_cleanup(self):
1147 self.gl_repo.git_repo.state_cleanup()
1148 if os.path.exists(self._fuse_commits_fp):
1149 os.remove(self._fuse_commits_fp)
1150 self.gl_repo._ref_rm('GL_FUSE_ORIG_HEAD')
1151
1152 def _safe_reset(self, cid, msg_fn, save_fn=None):
1153 git_repo = self.gl_repo.git_repo

Callers 4

mergeMethod · 0.95
merge_continueMethod · 0.95
_fuseMethod · 0.95
abort_fuseMethod · 0.95

Calls 1

_ref_rmMethod · 0.80

Tested by

no test coverage detected