aboutsummaryrefslogtreecommitdiffstats
path: root/src/github.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-09 01:14:38 +0100
committerTeddy Wing2017-11-09 01:14:38 +0100
commit254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95 (patch)
tree9ef4ceb7f61536170f98e634430ec3b501745d18 /src/github.rs
parentdf0b5cd4b3c4af93019e2f628fa32101242d4ec2 (diff)
downloadkipper-254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95.tar.bz2
CommitRef: Add `owner` field
This field stores the "owner" of the commit on GitHub, in other words, a user or organisation. Storing that information in this struct makes it easier to pass around.
Diffstat (limited to 'src/github.rs')
-rw-r--r--src/github.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github.rs b/src/github.rs
index d246c4e..325f6bf 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -84,6 +84,7 @@ mod tests {
.create();
let commit_ref = CommitRef {
+ owner: "octocat".to_string(),
repo: "Hello-World".to_string(),
sha: "6dcb09b5b57875f334f61aebed695e2e4193db5e".to_string(),
branch: "not-used".to_string(),