MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Close

Method Close

xmlparser/decoder.go:54–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func (d *Decoder) Close() error {
55 d.r.Reset(nil)
56 bufreaderPool.Put(d.r)
57 d.r = nil
58
59 d.buf.Free()
60 d.buf = nil
61
62 return d.err
63}
64
65func (d *Decoder) Token() (Token, error) {
66 if d.err != nil {

Callers 1

readFromMethod · 0.95

Calls 2

ResetMethod · 0.80
FreeMethod · 0.80

Tested by

no test coverage detected