MCPcopy Create free account
hub / github.com/compozy/agh / locationFilename

Function locationFilename

internal/api/core/memory.go:2355–2360  ·  view source on GitHub ↗
(location MemoryLocation, header memcontract.Header)

Source from the content-addressed store, hash-verified

2353}
2354
2355func locationFilename(location MemoryLocation, header memcontract.Header) string {
2356 if header.Filename != "" {
2357 return strings.TrimSpace(header.Filename)
2358 }
2359 return strings.TrimSpace(location.Filename)
2360}
2361
2362func (h *BaseHandlers) memoryOrigin() memcontract.Origin {
2363 switch h.transportName() {

Callers 2

memoryEntryPayloadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected