MCPcopy Create free account
hub / github.com/github/copilot-sdk / Remove

Method Remove

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

Rm removes a file or directory. If recursive is true, remove contents too. If force is true, do not return an error when the path does not exist.

(path string, recursive bool, force bool)

Source from the content-addressed store, hash-verified

44 // Rm removes a file or directory. If recursive is true, remove contents too.
45 // If force is true, do not return an error when the path does not exist.
46 Remove(path string, recursive bool, force bool) error
47 // Rename moves/renames a file or directory.
48 Rename(src string, dest string) error
49}

Callers 6

RmMethod · 0.65
RemoveMethod · 0.65
TestRpcServerPluginsFunction · 0.65
TestRPCMCPConfigE2EFunction · 0.65
tryRemovePortedFileFunction · 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 5

RemoveMethod · 0.52
TestRpcServerPluginsFunction · 0.52
TestRPCMCPConfigE2EFunction · 0.52
tryRemovePortedFileFunction · 0.52