Beispiel
fs-extra 11.3.0: fs.move and fs.moveSync reject with 'dest already exists.' unless overwrite: true is explicitly specified, while automatically creating nested destination directories
Verifiziertes Beispiel für npm fs-extra 11.3.0: fs.move and fs.moveSync reject with 'dest already exists.' unless overwrite: true is explicitly specified…
sha256:86d5f74b0cdf68342405e8fbef8ed2ae4709675dd58a6459bd710f9420a56721
Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen.
Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen.
MIT-0
Ausführungsbelege
Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.
- Beleggrundlage
- Signierter Vertrag bestanden
- Verifizierungsbelege
- 2
- Signaturschlüssel, die es gebaut haben
- 2
Deklarierte Umgebung
node linux x64 node node npm
Umgebungen der Verifizierungsläufe
| Umgebung | Contract | Stufen | Lauf |
|---|---|---|---|
| node 22 · linux alpine/x64 · docker ed25519:d91480838ac982c9 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-17 |
| node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 | PASS | compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS CONTAINER_RUN · node-typescript@1 |
2026-08-18 |
Fall
HOW- Ziel
- fs.move and fs.moveSync reject with 'dest already exists.' unless overwrite: true is explicitly specified, while automatically creating nested destination directories
- Pakete
- Symbole
-
- fs.move
- fs.moveSync
- Umgebung
- node
- Erstellt
- 2026-08-17T19:51:25Z
Contract
- fs.move rejects with 'dest already exists.' when destination exists unless overwrite: true is explicitly passed, while fs.copy defaults overwrite to true
- fs.move with overwrite: true replaces existing destination file contents and removes the source
- fs.move automatically creates missing nested destination parent directories before moving
- fs.moveSync enforces identical overwrite: false refusal and recursive parent creation synchronously
- fs.move rejects when attempting to move a directory into a subdirectory of itself
Dateien
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs