diff --git a/src/args.rs b/src/args.rs index 854808c..5d5982b 100644 --- a/src/args.rs +++ b/src/args.rs @@ -190,13 +190,3 @@ impl FromStr for KeyValue { } } } - -impl KeyValue { - pub fn key(&self) -> &str { - &self.key - } - - pub fn value(&self) -> &str { - &self.value - } -} diff --git a/src/config.rs b/src/config.rs index fed2ecf..b56cdb6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -37,7 +37,6 @@ pub struct Settings { pub list_format: Vec, pub human_readable: bool, pub output_format: Option, - pub verbose: u8, pub quiet: bool, pub force: bool, pub server: Option, @@ -46,12 +45,6 @@ pub struct Settings { pub digest: Option, } -impl Settings { - pub fn verbose(&self) -> u8 { - self.verbose - } -} - impl Settings { /// Create unified settings from config and args with proper priority pub fn new(args: &Args, default_dir: PathBuf) -> Result { diff --git a/src/modes/server/common.rs b/src/modes/server/common.rs index 5ebe214..f22a804 100644 --- a/src/modes/server/common.rs +++ b/src/modes/server/common.rs @@ -32,16 +32,6 @@ pub struct AppState { pub password_hash: Option, } -impl AppState { - pub fn password(&self) -> Option<&String> { - self.password.as_ref() - } - - pub fn password_hash(&self) -> Option<&String> { - self.password_hash.as_ref() - } -} - #[derive(Serialize, Deserialize, ToSchema)] #[schema(description = "Standard API response wrapper containing success status, data payload, and error information")] pub struct ApiResponse {