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

Method try_into

backend/src/git/core/mod.rs:148–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

146 type Error = Error;
147
148 fn try_into(self) -> Result<RepoLink> {
149 let bytes = self.content();
150 let link: RepoLink = serde_yaml::from_slice(bytes)?;
151 Ok(link)
152 }
153}
154
155impl<'repo> TryInto<RepoObject> for git2::Blob<'repo> {

Callers 4

changeMethod · 0.45
linkMethod · 0.45
objectMethod · 0.45
topicMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected