Test message 123!

This commit is contained in:
dualfroz committed 2026-06-14 00:22:54 +02:00
1 parent 4cf726709f
commit d4fdc9890a
52 files changed
+5537 -277

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
pub fn to_web_url(git_url: &str) -> String {
if git_url.starts_with("http") { return git_url.trim_end_matches(".git").to_string(); }
if let Some(colon) = git_url.rfind(':') {
let host = git_url[..colon].split('@').last().unwrap_or("");
let path = git_url[colon + 1..].trim_end_matches(".git");
return format!("https://{}/{}", host, path);
}
git_url.to_string()
}