MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Stat

Method Stat

internal/caches/list_interface.go:40–40  ·  view source on GitHub ↗

Stat 统计

(check func(hash string) bool)

Source from the content-addressed store, hash-verified

38
39 // Stat 统计
40 Stat(check func(hash string) bool) (*Stat, error)
41
42 // Count 总数量
43 Count() (int64, error)

Callers 15

RunMethod · 0.65
LookPathFunction · 0.65
NewStoreFunction · 0.65
NewStoreWithPathFunction · 0.65
OpenStoreDirFunction · 0.65
RemoveStoreFunction · 0.65
openFunction · 0.65
InitMethod · 0.65
loadDBMethod · 0.65
StatMethod · 0.65
CheckSQLiteDBFunction · 0.65
InitMethod · 0.65

Implementers 3

MemoryListinternal/caches/list_memory.go
KVFileListinternal/caches/list_file_kv.go
SQLiteFileListinternal/caches/list_file_sqlite.go

Calls

no outgoing calls

Tested by 5

TestKVFileList_StatFunction · 0.52
TestFileList_StatFunction · 0.52
TestMemoryStorage_StatFunction · 0.52
TestFileStorage_InitFunction · 0.52
TestFileStorage_StatFunction · 0.52