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

Method Print

internal/caches/list_memory.go:415–423  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

413}
414
415func (this *MemoryList) Print(t *testing.T) {
416 this.locker.Lock()
417 for _, itemMap := range this.itemMaps {
418 if len(itemMap) > 0 {
419 logs.PrintAsJSON(itemMap, t)
420 }
421 }
422 this.locker.Unlock()
423}
424
425func (this *MemoryList) prefix(hash string) string {
426 var prefix string

Callers 2

TestMemoryList_RemoveFunction · 0.45
TestMemoryList_PurgeFunction · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 2

TestMemoryList_RemoveFunction · 0.36
TestMemoryList_PurgeFunction · 0.36