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

Method Stat

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

Source from the content-addressed store, hash-verified

29type RealFileSystem struct{}
30
31func (RealFileSystem) Stat(name string) (os.FileInfo, error) { return os.Stat(name) }
32func (RealFileSystem) Open(name string) (fs.File, error) { return os.Open(name) }
33func (RealFileSystem) Getwd() (string, error) { return os.Getwd() }
34func (RealFileSystem) Abs(path string) (string, error) { return filepath.Abs(path) }

Callers

nothing calls this directly

Calls 1

StatMethod · 0.65

Tested by

no test coverage detected