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

Method cwd

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

Source from the content-addressed store, hash-verified

127
128 @property
129 def cwd(self):
130 ret = os.path.relpath(os.getcwd(), self.root)
131 return '' if ret == '.' else ret
132
133 def revparse_single(self, revision):
134 if '/' in revision: # might be a remote branch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected