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

Method write_file

python/copilot/session_fs_provider.py:69–70  ·  view source on GitHub ↗

Write *content* to a file, creating parent directories if needed.

(self, path: str, content: str, mode: int | None = None)

Source from the content-addressed store, hash-verified

67
68 @abc.abstractmethod
69 async def write_file(self, path: str, content: str, mode: int | None = None) -> None:
70 """Write *content* to a file, creating parent directories if needed."""
71
72 @abc.abstractmethod
73 async def append_file(self, path: str, content: str, mode: int | None = None) -> None:

Callers 1

write_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected