Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emwalker/digraph
/ try_from
Method
try_from
backend/src/bin/export.rs:105–108 ·
view source on GitHub ↗
(row: &ParentTopicRow)
Source
from the content-addressed store, hash-verified
103
type Error = Error;
104
105
fn try_from(row: &ParentTopicRow) -> Result<Self> {
106
let id = sha256_id(&row.id);
107
Ok(Self { id })
108
}
109
}
110
111
#[derive(Clone, FromRow)]
Callers
nothing calls this directly
Calls
2
sha256_id
Function · 0.85
as_str
Method · 0.80
Tested by
no test coverage detected