The examples below are Rust v1.34 and git2 v0.8. To checkout a branch: use git2::*; fn main() { let repo = Repository::clone( ...
確定! 回上一頁