MCPcopy Create free account
hub / github.com/basecamp/omarchy / customModuleSafeName

Function customModuleSafeName

shell/plugins/bar/BarModel.js:112–115  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

110}
111
112function customModuleSafeName(name) {
113 var value = String(name || "")
114 return value !== "" && value.indexOf("..") === -1 && value[0] !== "/"
115}
116
117function customModuleType(entry) {
118 var settings = entrySettings(entry)

Callers 1

customModulePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected