From 94548a6b49abf2387369d86f532ee60d9e0a7c1f Mon Sep 17 00:00:00 2001 From: "Christopher L. Crutchfield" Date: Sun, 24 Nov 2024 14:58:20 -0800 Subject: [PATCH] feat: init credential manager --- src/git_lfs/git_lfs_parser.rs | 1 + src/subcommands/main_subcommand.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/git_lfs/git_lfs_parser.rs b/src/git_lfs/git_lfs_parser.rs index 9ef377d..74f9a71 100644 --- a/src/git_lfs/git_lfs_parser.rs +++ b/src/git_lfs/git_lfs_parser.rs @@ -12,6 +12,7 @@ struct Event { concurrent: bool } +#[derive(Debug)] pub struct GitLfsParser<'custom_transfer_agent, T: CustomTransferAgent> { custom_transfer_agent: &'custom_transfer_agent mut T } diff --git a/src/subcommands/main_subcommand.rs b/src/subcommands/main_subcommand.rs index e3ce9c9..75e016b 100644 --- a/src/subcommands/main_subcommand.rs +++ b/src/subcommands/main_subcommand.rs @@ -12,7 +12,7 @@ pub struct MainSubcommand { impl CustomTransferAgent for MainSubcommand { async fn init(&mut self) -> Result<()> { - // Init credential manager + self.credential_manager = Some(CredentialManager::new()?); // Init synology api Ok(())