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

Method getFileSize

mapcache/cache.go:83–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81}
82
83func (m *MapCache) getFileSize() int64 {
84 f, err := m.sqlfile.Stat()
85 if err != nil {
86 return -1
87 }
88
89 return f.Size()
90}
91
92type cacheInfo struct {
93 Version int

Callers 2

GetMethod · 0.95
StoreMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected