1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
use extern::burgundy;

pub mod compare;
pub mod contents;

pub struct GithubGetReposOwnerRepo {
    crate path: burgundy::Path,
}

impl GithubGetReposOwnerRepo {
    pub fn contents(self) -> contents::GithubGetReposOwnerRepoContents {
        contents::GithubGetReposOwnerRepoContents {
            path: self.path.push(&"contents"),
        }
    }

    pub fn compare(self) -> compare::GithubGetReposOwnerRepoCompare {
        compare::GithubGetReposOwnerRepoCompare {
            path: self.path.push(&"compare"),
        }
    }
}