MCPcopy Create free account
hub / github.com/Snapchat/dagger-browser / getScopeDisplayName

Function getScopeDisplayName

browser/src/components/NodeClosure.tsx:146–152  ·  view source on GitHub ↗
(scope: string)

Source from the content-addressed store, hash-verified

144}
145
146function getScopeDisplayName(scope: string): string {
147 const idx = scope.lastIndexOf(".")
148 if (idx === -1) {
149 return scope
150 }
151 return "@" + scope.substring(idx + 1)
152}
153
154function getModuleDisplayName(module: string): string {
155 const parts = module.split(".")

Callers 1

NodeClosureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected