From 254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 9 Nov 2017 01:14:38 +0100 Subject: 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. --- src/github.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/github.rs') 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(), -- cgit v1.2.3