MCPcopy Create free account
hub / github.com/Noumena-Network/code / renameSync

Function renameSync

src/utils/fsOperations.ts:499–502  ·  view source on GitHub ↗
(oldPath: string, newPath: string)

Source from the content-addressed store, hash-verified

497 },
498
499 renameSync(oldPath: string, newPath: string) {
500 using _ = slowLogging`fs.renameSync(${oldPath} → ${newPath})`
501 fs.renameSync(oldPath, newPath)
502 },
503
504 linkSync(target: string, path: string) {
505 using _ = slowLogging`fs.linkSync(${target} → ${path})`

Callers 1

writeAtomicallyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected