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

Method appendFileSync

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

Source from the content-addressed store, hash-verified

6704 });
6705 }
6706 appendFileSync(p, content, opts) {
6707 const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p;
6708 if (opts) {
6709 this.realFs.appendFileSync(fsNativePath, content, opts);
6710 } else {
6711 this.realFs.appendFileSync(fsNativePath, content);
6712 }
6713 }
6714 async writeFilePromise(p, content, opts) {
6715 return await new Promise((resolve, reject) => {
6716 const fsNativePath = typeof p === `string` ? npath.fromPortablePath(p) : p;

Callers

nothing calls this directly

Calls 1

appendFileSyncMethod · 0.45

Tested by

no test coverage detected