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

Method ReadDirectory

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

Readdir lists the names of entries in a directory. Return os.ErrNotExist if the directory does not exist.

(path string)

Source from the content-addressed store, hash-verified

38 // Readdir lists the names of entries in a directory.
39 // Return os.ErrNotExist if the directory does not exist.
40 ReadDirectory(path string) ([]string, error)
41 // ReaddirWithTypes lists entries with type information.
42 // Return os.ErrNotExist if the directory does not exist.
43 ReadDirectoryWithTypes(path string) ([]rpc.SessionFSReaddirWithTypesEntry, error)

Callers 1

ReaddirMethod · 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