MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / CleanAll

Method CleanAll

internal/caches/list_file_sqlite.go:331–342  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329}
330
331func (this *SQLiteFileList) CleanAll() error {
332 defer this.memoryCache.Clean()
333
334 for _, db := range this.dbList {
335 err := db.CleanAll()
336 if err != nil {
337 return err
338 }
339 }
340
341 return nil
342}
343
344func (this *SQLiteFileList) Stat(check func(hash string) bool) (*Stat, error) {
345 var result = &Stat{}

Callers

nothing calls this directly

Calls 2

CleanAllMethod · 0.65
CleanMethod · 0.45

Tested by

no test coverage detected