Skip to content

File manager#1

Open
samekeekz wants to merge 15 commits intomainfrom
file-manager
Open

File manager#1
samekeekz wants to merge 15 commits intomainfrom
file-manager

Conversation

@samekeekz
Copy link
Copy Markdown
Owner

@samekeekz samekeekz commented Feb 5, 2024

Task Link: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/file-manager/assignment.md
image
Completion Date: 06.02.2024
Deadline: 15.10.2024
Score: 330 / 330
General (16/16)
Application accepts username and prints proper message (6/6).
Application exits if the user pressed ctrl+c or sent .exit command, and a proper message is printed (10/10).
Operations Fail (30/30)
Attempts to perform an operation on a non-existent file or work on a non-existent path result in the operation fail (20/20).
Operation fail doesn't crash the application (10/10).
Navigation & Working Directory Operations (40/40)
Go upper from the current directory (10/10).
Go to a dedicated folder from the current directory (10/10).
List all files and folders in the current directory (20/20).
Basic Operations with Files (70/70)
Read file and print its content in the console (10/10).
Create an empty file (10/10).
Rename a file (10/10).
Copy a file (10/10).
Move a file (10/10).
Delete a file (10/10).
Operating System Info (34/34)
Get EOL (default system End-Of-Line) (6/6).
Get host machine CPUs info (overall amount of CPUS plus model and clock rate (in GHz) for each of them) (10/10).
Get home directory (6/6).
Get the current system username (Do not confuse with the username that is set when the application starts) (6/6).
Get CPU architecture for which Node.js binary has compiled (6/6).
Hash Calculation (20/20)
Calculate hash for a file (20/20).
Compress and Decompress Operations (40/40)
Compress a file (using Brotli algorithm) (20/20).
Decompress a file (using Brotli algorithm) (20/20).
Advanced Scope (100/100)
All operations marked as to be implemented using certain streams should be performed using Streams API (30/30).
No synchronous Node.js API with asynchronous analogues is used (e.g., not used readFileSync instead of readFile) (20/20).
Codebase is written in ESM modules instead of CommonJS (20/20).
Codebase is separated (at least 7 modules) (20/20).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant