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

Struct MockFileSystem

internal/cli/cli_test.go:21–23  ·  view source on GitHub ↗

-- MOCKS --

Source from the content-addressed store, hash-verified

19// -- MOCKS --
20
21type MockFileSystem struct {
22 Files map[string][]byte
23}
24
25func (m *MockFileSystem) Stat(name string) (os.FileInfo, error) {
26 if _, ok := m.Files[name]; ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected