MCPcopy Create free account
hub / github.com/denoland/std / writeSync

Method writeSync

fs/_node_fs_file.ts:210–216  ·  view source on GitHub ↗
(p: Uint8Array)

Source from the content-addressed store, hash-verified

208 }
209
210 writeSync(p: Uint8Array): number {
211 try {
212 return this.#nodeFs.writeSync(this.#rid, p);
213 } catch (error) {
214 throw mapError(error);
215 }
216 }
217}

Callers

nothing calls this directly

Calls 2

mapErrorFunction · 0.90
writeSyncMethod · 0.65

Tested by

no test coverage detected