MCPcopy Create free account
hub / github.com/CloudyKit/jet / Delete

Method Delete

loader.go:140–145  ·  view source on GitHub ↗

Delete removes whatever contents are stored under the given path.

(templatePath string)

Source from the content-addressed store, hash-verified

138
139// Delete removes whatever contents are stored under the given path.
140func (l *InMemLoader) Delete(templatePath string) {
141 templatePath = l.normalize(templatePath)
142 l.lock.Lock()
143 defer l.lock.Unlock()
144 delete(l.files, templatePath)
145}

Callers

nothing calls this directly

Calls 1

normalizeMethod · 0.95

Tested by

no test coverage detected