Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/arminc/clair-scanner
/ ReadFile
Method
ReadFile
docker.go:48–50 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
46
type
RealFileSystem
struct
{}
47
48
func
(fs RealFileSystem) ReadFile(name string) ([]byte, error) {
49
return
os.ReadFile(name)
50
}
51
52
func
(fs RealFileSystem) Open(name string) (*os.File, error) {
53
return
os.Open(name)
Callers
nothing calls this directly
Calls
1
ReadFile
Method · 0.65
Tested by
no test coverage detected