Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
75
impl TryFrom<&String> for RepoId {
Callers
nothing calls this directly
Calls
4
as_str
Method · 0.80
try_into
Method · 0.45
iter
Method · 0.45
len
Method · 0.45
Tested by
no test coverage detected