MCPcopy Create free account
hub / github.com/blues/note / Create

Method Create

lib/fileio.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, path string)

Source from the content-addressed store, hash-verified

15type FileIO interface {
16 Exists(ctx context.Context, path string) (exists bool, err error)
17 Create(ctx context.Context, path string) (err error)
18 Delete(ctx context.Context, path string) (err error)
19 ReadJSON(ctx context.Context, path string) (data []byte, err error)
20 WriteJSON(ctx context.Context, path string, data []byte) (err error)

Callers 2

createMethod · 0.65
createObjectMethod · 0.65

Implementers 1

filesystemlib/fileio.go

Calls

no outgoing calls

Tested by

no test coverage detected