Files
PyGithub/github/GithubObjects/GitRef.py
T
2012-03-14 22:56:08 +01:00

13 lines
270 B
Python

from GithubObject import *
GitRef = GithubObject(
"GitRef",
BaseUrl( lambda obj: obj._repo._baseUrl() + "/git/" + obj.ref ),
InternalSimpleAttributes(
"ref", "url",
"object",
"_repo",
),
Editable( [ "sha" ], [ "force" ] ),
)