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

Method WrapError

internal/caches/list_file_db_sqlite.go:481–486  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

479}
480
481func (this *SQLiteFileListDB) WrapError(err error) error {
482 if err == nil {
483 return nil
484 }
485 return fmt.Errorf("%w (file: %s)", err, this.dbPath)
486}
487
488func (this *SQLiteFileListDB) HashMapIsLoaded() bool {
489 return this.hashMapIsLoaded

Callers 5

AddSyncMethod · 0.95
CleanPrefixMethod · 0.95
CleanAllMethod · 0.95
initTablesMethod · 0.95
removeMethod · 0.80

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected