update links in file nodejs/fs
This commit is contained in:
parent
5a9f4c74b7
commit
54c6f3c410
1 changed files with 3 additions and 3 deletions
|
@ -6,11 +6,11 @@ tags:
|
||||||
- node-js
|
- node-js
|
||||||
---
|
---
|
||||||
|
|
||||||
# `fs` module
|
# fs module
|
||||||
|
|
||||||
File System is an essential built-in module of Node that contains utility methods for working with files and directories.
|
File System is an essential built-in module of Node that contains utility methods for working with files and directories.
|
||||||
|
|
||||||
Every method associated with `fs` has a _blocking_ and _asynchronous_ implementation. The former obviously blocks the [event queue](Event%20queue.md), the latter does not.
|
Every method associated with `fs` has a _blocking_ and _asynchronous_ implementation. The former obviously blocks the [event queue](/Programming_Languages/NodeJS/Architecture/Event_loop.md), the latter does not.
|
||||||
|
|
||||||
The synchronous methods are useful to have in some contexts but in general and with real-world applications, you should be using the async implementation so as to accord with the single-threaded event-driven architecture of Node.
|
The synchronous methods are useful to have in some contexts but in general and with real-world applications, you should be using the async implementation so as to accord with the single-threaded event-driven architecture of Node.
|
||||||
|
|
||||||
|
@ -94,4 +94,4 @@ fs.rmSync("/dir", { recursive: true, force: true });
|
||||||
|
|
||||||
## Streams
|
## Streams
|
||||||
|
|
||||||
See [Handling streams with fs](/Programming_Languages/Node/Streams.md)
|
See [Handling streams with fs](/Programming_Languages/NodeJS/Streams.md)
|
||||||
|
|
Loading…
Add table
Reference in a new issue