MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / labelFor

Function labelFor

src/memory/loader.ts:175–184  ·  view source on GitHub ↗
(file: MemoryFile)

Source from the content-addressed store, hash-verified

173}
174
175function labelFor(file: MemoryFile): string {
176 switch (file.type) {
177 case "user":
178 return "User memory"
179 case "project":
180 return "Project memory"
181 case "local":
182 return "Local memory"
183 }
184}

Callers 1

renderMemorySectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected