MCPcopy Create free account
hub / github.com/libgit2/pygit2 / orig_path

Method orig_path

pygit2/blame.py:107–113  ·  view source on GitHub ↗

Original path

(self)

Source from the content-addressed store, hash-verified

105
106 @property
107 def orig_path(self) -> None | str:
108 """Original path"""
109 path = self._hunk.orig_path
110 if not path:
111 return None
112
113 return ffi.string(path).decode('utf-8')
114
115
116class Blame:

Callers

nothing calls this directly

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected