From 54c6f3c4100314954bdae4d257500e104df441ed Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Fri, 21 Apr 2023 06:54:17 +0100 Subject: [PATCH] update links in file nodejs/fs --- Programming_Languages/NodeJS/Modules/Core/fs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Programming_Languages/NodeJS/Modules/Core/fs.md b/Programming_Languages/NodeJS/Modules/Core/fs.md index cea8113..b0b0f8a 100644 --- a/Programming_Languages/NodeJS/Modules/Core/fs.md +++ b/Programming_Languages/NodeJS/Modules/Core/fs.md @@ -6,11 +6,11 @@ tags: - 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. -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. @@ -94,4 +94,4 @@ fs.rmSync("/dir", { recursive: true, force: true }); ## Streams -See [Handling streams with fs](/Programming_Languages/Node/Streams.md) +See [Handling streams with fs](/Programming_Languages/NodeJS/Streams.md)