MCPcopy
hub / github.com/sipeed/picoclaw / WriteFile

Method WriteFile

pkg/tools/fs/filesystem.go:1000–1000  ·  view source on GitHub ↗
(path string, data []byte)

Source from the content-addressed store, hash-verified

998type fileSystem interface {
999 ReadFile(path string) ([]byte, error)
1000 WriteFile(path string, data []byte) error
1001 ReadDir(path string) ([]os.DirEntry, error)
1002 Open(path string) (fs.File, error)
1003}

Implementers 3

hostFspkg/tools/fs/filesystem.go
sandboxFspkg/tools/fs/filesystem.go
whitelistFspkg/tools/fs/filesystem.go

Calls

no outgoing calls