Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/libgit2/pygit2
/ src
Method
src
pygit2/refspec.py:42–44 ·
view source on GitHub ↗
Source or lhs of the refspec
(self)
Source
from the content-addressed store, hash-verified
40
41
@property
42
def
src(self) -> str:
43
""
"Source or lhs of the refspec"
""
44
return
ffi.string(C.git_refspec_src(self._refspec)).decode(
'utf-8'
)
45
46
@property
47
def
dst(self) -> str:
Callers
nothing calls this directly
Calls
1
string
Method · 0.80
Tested by
no test coverage detected