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

Method Open

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

Source from the content-addressed store, hash-verified

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)
21 WalkDir(root string, fn fs.WalkDirFunc) error

Callers 6

LoadDatabaseMethod · 0.65
NewPebbleScannerFunction · 0.65
MigrateFromJSONMethod · 0.65
OpenMethod · 0.65
ReadFileMethod · 0.65
copyFileFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected