Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emwalker/digraph
/ id
Method
id
backend/src/graphql/user.rs:40–45 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
38
}
39
40
pub async fn id(&self) -> ID {
41
match self {
42
Self::Guest => ID(GUEST_ID.to_string()),
43
Self::Registered { id, .. } => id.to_owned(),
44
}
45
}
46
47
pub async fn is_guest(&self) -> bool {
48
match self {
Callers
1
upsert_link
Method · 0.45
Calls
1
ID
Function · 0.85
Tested by
no test coverage detected