MCPcopy
hub / github.com/openpubkey/opkssh / Stat

Method Stat

policy/files/filesystem.go:31–31  ·  view source on GitHub ↗

Stat returns file info for the given path.

(path string)

Source from the content-addressed store, hash-verified

29type FileSystem interface {
30 // Stat returns file info for the given path.
31 Stat(path string) (fs.FileInfo, error)
32 // Exists reports whether the path exists.
33 Exists(path string) (bool, error)
34 // Open opens a file for reading (e.g. directory listing via Readdir).

Callers 15

LoadFileAtPathMethod · 0.65
VerifyACLMethod · 0.65
StatMethod · 0.65
CheckPermMethod · 0.65
StatMethod · 0.65
StatMethod · 0.65
VerifyACLMethod · 0.65
CheckPermMethod · 0.65
loadPluginsMethod · 0.65
StatMethod · 0.65
RunMethod · 0.65
ReadHomeFunction · 0.65

Implementers 2

defaultFileSystempolicy/files/filesystem.go
mockFileSystemcommands/permissions_mocks_test.go

Calls

no outgoing calls