Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added `Switch.mkdirSync()`, `Switch.removeSync()`, `Switch.statSync()` - Read operations return `null` for `ENOENT`, instead of throwing an error - `Switch.remove()` and `Switch.removeSync()` work with directories, and delete recursively - `Switch.writeFileSync()` creates parent directories recursively as needed
- Loading branch information
1 parent
0f84ee1
commit 14657f0
Showing
7 changed files
with
358 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'nxjs-runtime': patch | ||
--- | ||
|
||
Overhaul filesystem operations: | ||
|
||
* Added `Switch.mkdirSync()`, `Switch.removeSync()`, `Switch.statSync()` | ||
* Read operations return `null` for `ENOENT`, instead of throwing an error | ||
* `Switch.remove()` and `Switch.removeSync()` work with directories, and delete recursively | ||
* `Switch.writeFileSync()` creates parent directories recursively as needed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.