src/server/pkg/localcache/cache.go
func (c *Cache) Delete(key string) error {
	c.mu.Lock()
	defer c.mu.Unlock()
	if !c.keys[key] {
		return nil
	}
	delete(c.keys, key)
	return os.Remove(filepath.Join(c.root, key))
}
func (c *Cache) Delete(key string) error {
	c.mu.Lock()
	defer c.mu.Unlock()
	if !c.keys[key] {
		return nil
	}
	delete(c.keys, key)
	return os.Remove(filepath.Join(c.root, key))
}
func ( c * Cache ) Delete ( key string ) error { c . mu . Lock ( ) defer c . mu . Unlock ( ) if ! c . keys [ key ] { return nil } delete ( c . keys , key ) return os . Remove ( filepath . Join ( c . root , key ) ) }
// Delete deletes a key/value pair.
Delete deletes a key / value pair .