From 9ba3dc08e60906cef6c82a375d3c427d2b2f4733 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 2 Jul 2024 07:46:28 +0100 Subject: refactor: remove old remote helper placeholder to make room for new one --- nostr_git_remote_helper/src/sub_commands/capabilities.rs | 8 -------- nostr_git_remote_helper/src/sub_commands/mod.rs | 2 -- nostr_git_remote_helper/src/sub_commands/placeholder.rs | 10 ---------- 3 files changed, 20 deletions(-) delete mode 100644 nostr_git_remote_helper/src/sub_commands/capabilities.rs delete mode 100644 nostr_git_remote_helper/src/sub_commands/mod.rs delete mode 100644 nostr_git_remote_helper/src/sub_commands/placeholder.rs (limited to 'nostr_git_remote_helper/src/sub_commands') diff --git a/nostr_git_remote_helper/src/sub_commands/capabilities.rs b/nostr_git_remote_helper/src/sub_commands/capabilities.rs deleted file mode 100644 index 325cb3b..0000000 --- a/nostr_git_remote_helper/src/sub_commands/capabilities.rs +++ /dev/null @@ -1,8 +0,0 @@ -use anyhow::Result; - -// https://git-scm.com/docs/gitremote-helpers#_capabilities -pub async fn launch() -> Result<()> { - // blank line indicates end of capabilities - println(""); - Ok(()) -} diff --git a/nostr_git_remote_helper/src/sub_commands/mod.rs b/nostr_git_remote_helper/src/sub_commands/mod.rs deleted file mode 100644 index c60ab7a..0000000 --- a/nostr_git_remote_helper/src/sub_commands/mod.rs +++ /dev/null @@ -1,2 +0,0 @@ -pub mod capabilities; -pub mod placeholder; diff --git a/nostr_git_remote_helper/src/sub_commands/placeholder.rs b/nostr_git_remote_helper/src/sub_commands/placeholder.rs deleted file mode 100644 index ebe05ff..0000000 --- a/nostr_git_remote_helper/src/sub_commands/placeholder.rs +++ /dev/null @@ -1,10 +0,0 @@ -use anyhow::Result; - -use crate::Cli; - -#[derive(Debug, clap::Args)] -pub struct SubCommandArgs {} - -pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> { - Ok(()) -} -- cgit v1.2.3