MCPcopy Index your code
hub / github.com/plexdrive/plexdrive / Len

Method Len

chunk/stack.go:24–28  ·  view source on GitHub ↗

Len gets the number of items on the stack

()

Source from the content-addressed store, hash-verified

22
23// Len gets the number of items on the stack
24func (s *Stack) Len() int {
25 s.lock.Lock()
26 defer s.lock.Unlock()
27 return s.items.Len()
28}
29
30// Pop pops the first item from the stack
31func (s *Stack) Pop() int {

Callers 2

TestLenFunction · 0.95
PopMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestLenFunction · 0.76