aboutsummaryrefslogtreecommitdiffstats
path: root/src/git.rs
AgeCommit message (Collapse)Author
2021-05-29src/git.rs: Add function documentationTeddy Wing
2021-05-29Add function to update a Git repositoryTeddy Wing
Should work like: $ git remote update From what I can tell from: https://github.com/git/git/blob/a0dda6023ed82b927fa205c474654699a5b07a82/builtin/remote.c#L1452-L1490 this translates to something like: $ git fetch --prune --multiple default --all
2021-05-29git::mirror(): Extract argumentsTeddy Wing
Move hard-coded repository values to function arguments.
2021-05-29Work out how to mirror a Git repositoryTeddy Wing
Based on the guide here: https://libgit2.org/docs/guides/101-samples/#repositories_clone_mirror References: https://github.com/libgit2/libgit2sharp/issues/577 https://github.com/libgit2/libgit2.github.io/pull/31