From e138d6373d7761c413a4eaa225c9a0bd904fa61d Mon Sep 17 00:00:00 2001 From: Tiago Carvalho Date: Sat, 22 Jul 2023 14:42:51 +0100 Subject: [PATCH] move sign and verify to raw --- src/{ => raw}/sign.rs | 4 ++-- src/{ => raw}/verify.rs | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{ => raw}/sign.rs (91%) rename src/{ => raw}/verify.rs (100%) diff --git a/src/sign.rs b/src/raw/sign.rs similarity index 91% rename from src/sign.rs rename to src/raw/sign.rs index dbf3aa2..a88e637 100644 --- a/src/sign.rs +++ b/src/raw/sign.rs @@ -17,8 +17,8 @@ pub fn command(key_path: PathBuf, rev: String) -> Result<()> { Ok(()) } -/// Sign the revision `rev` with the secret key `key`, write the results -/// to `repo`, and return the corresponding object id of the signature tree. +/// Sign the revision `rev` with the given secret key, write the results +/// to `repo` and return the object id of the resulting signature tree. pub fn sign(repo: &Repository, secret_key: &PrivateKey, rev: &str) -> Result { let oid = repo .revparse_single(rev) diff --git a/src/verify.rs b/src/raw/verify.rs similarity index 100% rename from src/verify.rs rename to src/raw/verify.rs -- 2.51.2