Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
83
func
(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
92
type
cacheInfo
struct
{
93
Version int
Callers
2
Get
Method · 0.95
Store
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected