MCPcopy Index your code
hub / github.com/emwalker/digraph / try_from

Method try_from

backend/src/types.rs:70–72  ·  view source on GitHub ↗
(id: &str)

Source from the content-addressed store, hash-verified

68 type Error = Error;
69
70 fn try_from(id: &str) -> Result<Self> {
71 Ok(Self(id.try_into()?))
72 }
73}
74
75impl TryFrom<&String> for RepoId {

Callers

nothing calls this directly

Calls 4

as_strMethod · 0.80
try_intoMethod · 0.45
iterMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected