From d1a6d62e895acd329cb6bae51eb88eb9f290b0a4 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 19 Jun 2025 16:38:58 +0100 Subject: refactor: rename ngit_relay to grasp in function, params and variable names --- src/bin/git_remote_nostr/utils.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin/git_remote_nostr/utils.rs') diff --git a/src/bin/git_remote_nostr/utils.rs b/src/bin/git_remote_nostr/utils.rs index ec6412b..f7e688e 100644 --- a/src/bin/git_remote_nostr/utils.rs +++ b/src/bin/git_remote_nostr/utils.rs @@ -216,9 +216,9 @@ pub fn get_read_protocols_to_try( git_repo: &Repo, server_url: &CloneUrl, decoded_nostr_url: &NostrUrlDecoded, - is_ngit_relay: bool, + is_grasp_server: bool, ) -> Vec { - if is_ngit_relay { + if is_grasp_server { if server_url.protocol() == ServerProtocol::Http { vec![(ServerProtocol::UnauthHttp)] } else { @@ -269,9 +269,9 @@ pub fn get_write_protocols_to_try( git_repo: &Repo, server_url: &CloneUrl, decoded_nostr_url: &NostrUrlDecoded, - is_ngit_relay: bool, + is_grasp_server: bool, ) -> Vec { - if is_ngit_relay { + if is_grasp_server { if server_url.protocol() == ServerProtocol::Http { vec![(ServerProtocol::UnauthHttp)] } else { -- cgit v1.2.3