summaryrefslogtreecommitdiff
path: root/src/git.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-04-08 19:41:37 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-04-08 19:41:37 +0200
commitff5e3b4dd718e622d81e02c50786c2ec3d5437ae (patch)
tree9de8bebab5d9d5875744d51f3176d9301fb68007 /src/git.rs
parentc21d81998d3cf573a4b0333f81c22494906cb111 (diff)
Fill in test for updating description on existing repo
This also isn't implemented yet. Naughty naughty.
Diffstat (limited to 'src/git.rs')
-rw-r--r--src/git.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/git.rs b/src/git.rs
index 82f32dd..0ef9a42 100644
--- a/src/git.rs
+++ b/src/git.rs
@@ -170,6 +170,10 @@ pub fn list() -> Result<Vec<RepoMetadata>, ShackleError> {
Ok(results)
}
+pub fn set_description(_directory: &PathBuf, _description: &str) -> Result<(), ShackleError> {
+ todo!()
+}
+
pub fn upload_pack(upload_pack_args: &GitUploadPackArgs) -> Result<(), ShackleError> {
if !is_valid_git_repo_path(&upload_pack_args.directory)? {
return Err(ShackleError::InvalidDirectory);