MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / push

Method push

server/webdav/internal/xml/xml.go:379–390  ·  view source on GitHub ↗
(kind int)

Source from the content-addressed store, hash-verified

377)
378
379func (d *Decoder) push(kind int) *stack {
380 s := d.free
381 if s != nil {
382 d.free = s.next
383 } else {
384 s = new(stack)
385 }
386 s.next = d.stk
387 s.kind = kind
388 d.stk = s
389 return s
390}
391
392func (d *Decoder) pop() *stack {
393 s := d.stk

Callers 2

pushElementMethod · 0.95
pushNsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected