Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antchfx/xmlquery
/ StartCaching
Method
StartCaching
cached_reader.go:21–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(c *cachedReader) StartCaching() {
22
c.cache = c.cache[:0]
23
c.caching = true
24
}
25
26
func
(c *cachedReader) ReadByte() (b byte, err error) {
27
b, err = c.buffer.ReadByte()
Callers
2
parse
Method · 0.80
TestCaching
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestCaching
Function · 0.64