func fileCachePieceFileStorage(fc *filecache.Cache) storage.Client { return storage.NewFileStorePieces(fc.AsFileStore()) }
func fileCachePieceResourceStorage(fc *filecache.Cache) storage.Client { return storage.NewResourcePieces(fc.AsResourceProvider()) }