MCPcopy
hub / github.com/dosco/graphjin / normalizeFilesystemCacheID

Function normalizeFilesystemCacheID

core/cache_response.go:177–180  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

175}
176
177func normalizeFilesystemCacheID(id string) string {
178 id = strings.ReplaceAll(id, "\\", "/")
179 return strings.TrimLeft(id, "/")
180}
181
182// Normalize returns the canonical source/kind form for this ref.
183func (r RowRef) Normalize() RowRef {

Callers 4

FilesystemKeyRefsFunction · 0.85
FilesystemPrefixRefsFunction · 0.85
filesystemKeyRefFunction · 0.85
filesystemPrefixRefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected