Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basecamp/omarchy
/ leafIdFor
Function
leafIdFor
shell/plugins/menu/MenuModel.js:283–286 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
281
}
282
283
function
leafIdFor(id) {
284
var
parts = String(id ||
""
).split(
"."
)
285
return
parts.length > 0 ? parts[parts.length - 1] : id
286
}
287
288
function
nameSearchText(entry) {
289
if
(!entry)
return
""
Callers
1
nameSearchText
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected