MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / write

Method write

packages/sdk/src/adapters/fs.ts:38–46  ·  view source on GitHub ↗
(path: string, content: string)

Source from the content-addressed store, hash-verified

36 }
37
38 async write(path: string, content: string): Promise<void> {
39 const p = this.doWrite(path, content);
40 this.inflightWrites.add(p);
41 try {
42 await p;
43 } finally {
44 this.inflightWrites.delete(p);
45 }
46 }
47
48 private async doWrite(path: string, content: string): Promise<void> {
49 try {

Callers

nothing calls this directly

Calls 3

doWriteMethod · 0.95
addMethod · 0.80
deleteMethod · 0.80

Tested by

no test coverage detected