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

Method rtransform

pygit2/refspec.py:93–97  ·  view source on GitHub ↗

Transform a reference name according to this refspec from the lhs to the rhs. Return an string.

(self, ref: str)

Source from the content-addressed store, hash-verified

91 return self._transform(ref, C.git_refspec_transform)
92
93 def rtransform(self, ref: str) -> str:
94 """Transform a reference name according to this refspec from the lhs to
95 the rhs. Return an string.
96 """
97 return self._transform(ref, C.git_refspec_rtransform)

Callers 1

test_refspecFunction · 0.80

Calls 1

_transformMethod · 0.95

Tested by 1

test_refspecFunction · 0.64