MCPcopy Create free account
hub / github.com/typicode/lowdb / write

Method write

src/adapters/node/TextFile.ts:63–66  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

61 }
62
63 write(str: string): void {
64 writeFileSync(this.#tempFilename, str)
65 renameSync(this.#tempFilename, this.#filename)
66 }
67}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected