MCPcopy Index your code
hub / github.com/github/copilot-sdk / AppendFile

Method AppendFile

go/session_fs_provider.go:29–29  ·  view source on GitHub ↗

AppendFile appends content to a file, creating it and parent directories if needed. mode is an optional POSIX-style permission mode. Pass nil to use the OS default.

(path string, content string, mode *int)

Source from the content-addressed store, hash-verified

27 // AppendFile appends content to a file, creating it and parent directories if needed.
28 // mode is an optional POSIX-style permission mode. Pass nil to use the OS default.
29 AppendFile(path string, content string, mode *int) error
30 // Exists checks whether the given path exists.
31 Exists(path string) (bool, error)
32 // Stat returns metadata about a file or directory.

Callers 1

AppendFileMethod · 0.65

Implementers 2

testSessionFSHandlergo/internal/e2e/session_fs_e2e_test.go
inMemorySqliteProvidergo/internal/e2e/session_fs_sqlite_e2e_

Calls

no outgoing calls

Tested by

no test coverage detected