MCPcopy 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
283function leafIdFor(id) {
284 var parts = String(id || "").split(".")
285 return parts.length > 0 ? parts[parts.length - 1] : id
286}
287
288function nameSearchText(entry) {
289 if (!entry) return ""

Callers 1

nameSearchTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected