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

Method is_valid

backend/src/graphql/mutation.rs:132–134  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

130
131impl SynonymInput {
132 pub fn is_valid(&self) -> bool {
133 !self.name.is_empty() && !RepoUrl::is_valid_url(&self.name)
134 }
135}
136
137#[derive(Debug, InputObject)]

Callers

nothing calls this directly

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected