MCPcopy Index your code
hub / github.com/arminc/clair-scanner / ReadFile

Method ReadFile

docker.go:40–40  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

38// FileSystem defines file operations for testability
39type FileSystem interface {
40 ReadFile(name string) ([]byte, error)
41 Open(name string) (*os.File, error)
42 Stat(name string) (os.FileInfo, error)
43}

Callers 3

parseWhitelistFileFunction · 0.65
ReadFileMethod · 0.65
LoadDockerManifestFunction · 0.65

Implementers 2

Calls

no outgoing calls

Tested by

no test coverage detected