Skip to content

Commit ce58970

Browse files
authored
Add delete tracking and symlink/unlink to OverlayFS (#8857)
* Add symlink to FileSystem interface * Add CopyOnWriteToMemoryFS test util * Allow deep symlinks * Add tests; fix bugs * Fix tracking deletes/unlinks for symlinks * Move CopyOnWriteToMemoryfS to @parcel/fs Also make it serialiable for multithread * lint * Clean up some nits and oversights * Merge CopyOnWriteToMemoryFS into OverlayFS * Fix tests * Fix tests * Fix copy on write for nested paths * Fix chdir behavior
1 parent 289510b commit ce58970

File tree

5 files changed

+608
-110
lines changed

5 files changed

+608
-110
lines changed

packages/core/fs/src/NodeFS.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export class NodeFS implements FileSystem {
3434
copyFile: any = promisify(fs.copyFile);
3535
stat: any = promisify(fs.stat);
3636
readdir: any = promisify(fs.readdir);
37+
symlink: any = promisify(fs.symlink);
3738
unlink: any = promisify(fs.unlink);
3839
utimes: any = promisify(fs.utimes);
3940
ncp: any = promisify(ncp);

0 commit comments

Comments
 (0)