MCPcopy Create free account
hub / github.com/emwalker/digraph / is_valid

Function is_valid

backend/src/http/repo_url.rs:182–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180
181 #[test]
182 fn is_valid() {
183 assert!(RepoUrl::is_valid_url("https://www.google.com"));
184 assert!(!RepoUrl::is_valid_url("Some name"));
185 assert!(!RepoUrl::is_valid_url("aaas:"));
186 }
187
188 #[test]
189 fn simple_case() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected