MCPcopy Create free account
hub / github.com/cryptoquantumwave/khunquant / WriteFile

Method WriteFile

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

Source from the content-addressed store, hash-verified

440type fileSystem interface {
441 ReadFile(path string) ([]byte, error)
442 WriteFile(path string, data []byte) error
443 ReadDir(path string) ([]os.DirEntry, error)
444 Open(path string) (fs.File, error)
445}

Implementers 3

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

Calls

no outgoing calls