Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antchfx/xmlquery
/ Cache
Method
Cache
cached_reader.go:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
func
(c *cachedReader) Cache() []byte {
38
return
c.cache
39
}
40
41
func
(c *cachedReader) CacheWithLimit(n int) []byte {
42
if
n < 1 {
Callers
1
TestCaching
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestCaching
Function · 0.64