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

Method append_file

python/copilot/session_fs_provider.py:73–74  ·  view source on GitHub ↗

Append *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

71
72 @abc.abstractmethod
73 async def append_file(self, path: str, content: str, mode: int | None = None) -> None:
74 """Append *content* to a file, creating parent directories if needed."""
75
76 @abc.abstractmethod
77 async def exists(self, path: str) -> bool:

Callers 1

append_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected