MCPcopy Create free account
hub / github.com/BlackVectorOps/semantic_firewall / Stat

Method Stat

pkg/api/filesystem.go:17–17  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

15// mock to drive the pipeline without touching disk.
16type FileSystem interface {
17 Stat(name string) (os.FileInfo, error)
18 Open(name string) (fs.File, error)
19 Getwd() (string, error)
20 Abs(path string) (string, error)

Callers 15

LoadDatabaseMethod · 0.65
SaveDatabaseMethod · 0.65
NewPebbleScannerFunction · 0.65
StatMethod · 0.65
ReadFileMethod · 0.65
DiffWithFSFunction · 0.65
TestPrepareMountPointsFunction · 0.65
RunFunction · 0.65
prepareMountPointsFunction · 0.65
generateSpecFunction · 0.65
RunIndexJSONFunction · 0.65

Implementers 2

RealFileSystempkg/api/filesystem.go
MockFileSysteminternal/cli/cli_test.go

Calls

no outgoing calls

Tested by 3

TestPrepareMountPointsFunction · 0.52
StatMethod · 0.52