MCPcopy Create free account
hub / github.com/gitless-vcs/gitless / __exit__

Method __exit__

gitless/core.py:707–710  ·  view source on GitHub ↗
(self, type, value, traceback)

Source from the content-addressed store, hash-verified

705 return self
706
707 def __exit__(self, type, value, traceback):
708 if not value: # no exception
709 self._git_index.write()
710 return True
711
712 def __getattr__(self, name):
713 return getattr(self._git_index, name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected