MCPcopy Create free account
hub / github.com/donatj/sqlread / New

Function New

mapcache/cache.go:19–23  ·  view source on GitHub ↗
(sqlfile *os.File)

Source from the content-addressed store, hash-verified

17}
18
19func New(sqlfile *os.File) *MapCache {
20 return &MapCache{
21 sqlfile: sqlfile,
22 }
23}
24
25var (
26 // ErrCacheMiss is an error when a valid cache is not found

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected