-
Notifications
You must be signed in to change notification settings - Fork 0
nodejs-basics #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| console.log("Create operation complete."); | ||
| } catch (error) { | ||
| if (error.code === "EEXIST") { | ||
| console.error("Error: File already exists."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From task description:
Errorwith messageFS operation failedmust be thrown
(console.log instead of throw error, here and everywhere)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function doesn't write error message "Error accessing folders:" when source folder doesn't exist
("if files folder doesn't exist Error with message FS operation failed must be thrown")
Basic Scope
File system (src/fs)
+6 create.js - done
+10 copy.js - done
+10 rename.js - done
+6 delete.js - done
+6 list.js - done
+6 read.js - done
Command line interface(src/cli)
+6 env.js - done
+6 args.js - done
Modules(src/modules)
+20 cjsToEsm.cjs - done
Hash (src/hash)
0 calcHash.js - not done
Streams (src/streams)
+10 read.js - done
+10 write.js - done
+10 transform.js - done
Zlib (src/zip)
+10 compress.js - done
+10 decompress.js - done
Advanced Scope
Worker Threads (src/wt) - not done
0 worker.js implemented properly
0 main.js implemented properly
Child Processes (src/cp) - done
+10 spawns child process
+10 child process stdin receives input from master process stdin
+10 child process stdout sends data to master process stdout