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

Method read_file

python/copilot/session_fs_provider.py:65–66  ·  view source on GitHub ↗

Read the full content of a file. Raise if the file does not exist.

(self, path: str)

Source from the content-addressed store, hash-verified

63
64 @abc.abstractmethod
65 async def read_file(self, path: str) -> str:
66 """Read the full content of a file. Raise if the file does not exist."""
67
68 @abc.abstractmethod
69 async def write_file(self, path: str, content: str, mode: int | None = None) -> None:

Callers 1

read_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected