chore: adjust default theme
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-10-04 08:27:27 +07:00
parent c76e909f7f
commit 6ec4b7e813
8 changed files with 54 additions and 65 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
use nostr::prelude::*;
/// Compare git URLs ignoring scheme, trailing `.git` and path slashes, so a
/// grasp announce URL matches its https origin. Unparseable values compare literally.
/// Compare git URLs ignoring scheme, trailing `.git` and path slashes,
/// so a grasp announce URL matches its https origin.
pub fn same_repo_url(a: &str, b: &str) -> bool {
match (url_identity(a), url_identity(b)) {
(Some(a), Some(b)) => a == b,