MCPcopy Create free account
hub / github.com/codesandbox/excalidraw-firebase / writeFileSync

Method writeFileSync

.pnp.cjs:7338–7344  ·  view source on GitHub ↗
(p, content, opts)

Source from the content-addressed store, hash-verified

7336 });
7337 }
7338 writeFileSync(p, content, opts) {
7339 return this.makeCallSync(p, () => {
7340 return this.baseFs.writeFileSync(p, content, opts);
7341 }, (mountFs, { subPath }) => {
7342 return mountFs.writeFileSync(subPath, content, opts);
7343 });
7344 }
7345 async unlinkPromise(p) {
7346 return await this.makeCallPromise(p, async () => {
7347 return await this.baseFs.unlinkPromise(p);

Callers

nothing calls this directly

Calls 2

makeCallSyncMethod · 0.95
writeFileSyncMethod · 0.45

Tested by

no test coverage detected