Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emwalker/digraph
/ id
Method
id
backend/src/http/repo_url.rs:91–93 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
89
}
90
91
pub fn id(&self) -> Result<ExternalId> {
92
ExternalId::try_from(&self.sha256)
93
}
94
95
pub fn is_pdf(&self) -> bool {
96
self.ends_with(
".pdf"
)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected