Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/colbymchenry/codegraph
/ opt_str
Function
opt_str
codegraph-kernel/src/csharp.rs:1618–1623 ·
view source on GitHub ↗
(arena: &mut Arena, s: Option<&str>)
Source
from the content-addressed store, hash-verified
1616
}
1617
1618
fn opt_str(arena: &mut Arena, s: Option<&str>) -> StrRef {
1619
match s {
1620
Some(s) => arena.put(s),
1621
None => NONE_STR,
1622
}
1623
}
Callers
1
create_node
Method · 0.70
Calls
1
put
Method · 0.65
Tested by
no test coverage detected