upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/git
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/git')
-rw-r--r--src/lib/git/nostr_url.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/git/nostr_url.rs b/src/lib/git/nostr_url.rs
index f46e751..c7e1bf2 100644
--- a/src/lib/git/nostr_url.rs
+++ b/src/lib/git/nostr_url.rs
@@ -19,13 +19,13 @@ pub enum ServerProtocol {
19impl fmt::Display for ServerProtocol { 19impl fmt::Display for ServerProtocol {
20 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { 20 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
21 match self { 21 match self {
22 ServerProtocol::Http => write!(f, "HTTP"), 22 ServerProtocol::Http => write!(f, "http"),
23 ServerProtocol::Https => write!(f, "HTTPS"), 23 ServerProtocol::Https => write!(f, "https"),
24 ServerProtocol::Ftp => write!(f, "FTP"), 24 ServerProtocol::Ftp => write!(f, "ftp"),
25 ServerProtocol::Ssh => write!(f, "SSH"), 25 ServerProtocol::Ssh => write!(f, "ssh"),
26 ServerProtocol::Git => write!(f, "GIT"), 26 ServerProtocol::Git => write!(f, "git"),
27 ServerProtocol::Local => write!(f, "LOCAL"), 27 ServerProtocol::Local => write!(f, "local"),
28 ServerProtocol::Unspecified => write!(f, "Unsepcified"), 28 ServerProtocol::Unspecified => write!(f, "unsepcified"),
29 } 29 }
30 } 30 }
31} 31}