Files
PyGithub/github/GithubObjects/GitRef.py
T
2012-03-30 12:13:08 +02:00

14 lines
301 B
Python

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