GetCommit¶
Fetches a single commit by owner, repo, and SHA.
Constructors¶
create¶
Returns¶
- GetCommit val^
Public Functions¶
apply¶
fun box apply(
owner: String val,
repo: String val,
sha: String val,
creds: Credentials val)
: Promise[(Commit val | RequestError val)] tag
Parameters¶
- owner: String val
- repo: String val
- sha: String val
- creds: Credentials val
Returns¶
- Promise[(Commit val | RequestError val)] tag
by_url¶
fun box by_url(
url: String val,
creds: Credentials val)
: Promise[(Commit val | RequestError val)] tag
Parameters¶
- url: String val
- creds: Credentials val
Returns¶
- Promise[(Commit val | RequestError val)] tag
eq¶
Parameters¶
- that: GetCommit val
Returns¶
- Bool val
ne¶
Parameters¶
- that: GetCommit val
Returns¶
- Bool val