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