MCPcopy
hub / github.com/AlistGo/alist / newEntry

Function newEntry

pkg/generic_sync/map.go:96–98  ·  view source on GitHub ↗
(i V)

Source from the content-addressed store, hash-verified

94}
95
96func newEntry[V any](i V) *entry[V] {
97 return &entry[V]{p: unsafe.Pointer(&i)}
98}
99
100// Load returns the value stored in the map for a key, or nil if no
101// value is present.

Callers 2

StoreMethod · 0.85
LoadOrStoreMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected