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

Method is_valid_url

backend/src/http/repo_url.rs:77–79  ·  view source on GitHub ↗
(input: &str)

Source from the content-addressed store, hash-verified

75 }
76
77 pub fn is_valid_url(input: &str) -> bool {
78 Self::parse(input).is_ok()
79 }
80
81 pub fn avoid_requests(&self) -> bool {
82 AVOID_REQUESTS

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected