MCPcopy Index your code
hub / github.com/vastsa/FileCodeBox / write

Method write

apps/admin/services.py:1602–1604  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1600 return open(self.path, "rb")
1601
1602 async def write(self, data):
1603 with open(self.path, "w") as f:
1604 f.write(data)
1605
1606 async def delete(self):
1607 os.remove(self.path)

Callers 9

_lock_fileFunction · 0.80
_saveMethod · 0.80
save_chunkMethod · 0.80
merge_chunksMethod · 0.80
merge_chunksMethod · 0.80
save_fileMethod · 0.80
save_chunkMethod · 0.80
merge_chunksMethod · 0.80
merge_chunksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected