MCPcopy Create free account
hub / github.com/SignTools/SignTools / FileSystem

Interface FileSystem

src/storage/filesystem.go:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16type FSName string
17
18type FileSystem interface {
19 GetString(FSName) (string, error)
20 GetFile(FSName) (ReadonlyFile, error)
21 SetString(FSName, string) error
22 SetFile(FSName, io.Reader) error
23 RemoveFile(FSName) error
24 Stat(name FSName) (os.FileInfo, error)
25 MkDir(name FSName) error
26 ReadDir(name FSName) ([]os.DirEntry, error)
27}
28
29type FileSystemBase struct {
30 mu sync.RWMutex

Callers 34

renderInstallFunction · 0.65
getTweaksFunction · 0.65
renderRenameAppFunction · 0.65
makeManifestFunction · 0.65
writeFileResponseFunction · 0.65
uploadUnsignedAppFunction · 0.65
resignAppFunction · 0.65
startSignFunction · 0.65
TestIntegrationFunction · 0.65
getTweaksFunction · 0.65
getSignedAppFunction · 0.65
getUnsignedAppJobFunction · 0.65

Implementers 2

envProfilesrc/storage/profile_env.go
FileSystemBasesrc/storage/filesystem.go

Calls

no outgoing calls

Tested by

no test coverage detected