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

Method append_file

python/copilot/session_fs_provider.py:182–187  ·  view source on GitHub ↗
(self, params: Any)

Source from the content-addressed store, hash-verified

180 return _to_session_fs_error(exc)
181
182 async def append_file(self, params: Any) -> SessionFSError | None:
183 try:
184 await self._p.append_file(params.path, params.content, getattr(params, "mode", None))
185 return None
186 except Exception as exc:
187 return _to_session_fs_error(exc)
188
189 async def exists(self, params: Any) -> SessionFSExistsResult:
190 try:

Callers

nothing calls this directly

Calls 2

_to_session_fs_errorFunction · 0.85
append_fileMethod · 0.45

Tested by

no test coverage detected