Software Requirements:
- Python 3 [ To run the Program]
- A Python IDE (e.g: Pycharm, Atom, VSCode) [ To Browse the Codes ]
Features:
- Create A Folder
- Create A File
- Add A File To A Folder
- Add A Folder To A Folder
- Write A String Content To A File
- Read String Content From File
- Clear The Content Of The File
- Get The Size Of The Content Of The File
- Get The Size Of The Content Of A Folder
- Print The File/folder Names Inside A Folder
- Walk The Tree Of A Folder Including All Of Its Subfolders
- Watch Current Directory
- Watch Current Directory Files
How To Run:
- Unzip The Folder "InMemoryFileSystem"
- Load All The Classes in the folder Or Run the folder in "Open As A Project" in the IDE.
- Go To The Main.py To Run
User Manual:
Initially The Program will show you in which directory you're now. Then You can change the directoy by typing ("Yes" or "No") To Change the Directory give An Exact memory location (e.g: C:\Users\Md Redwanuzzaman\Desktop )
- For Creating A Folder: Choose Option 1. Then Write The Folder Name: (e.g: Test Folder)
- For Creating A File: name the file. [use the file extension (e.g: file.txt)]
- For Adding A Directory To Another Directory: add(source location, destination location)
- For Writing A String Content To A File. Cgive the file name and content
- To Read String Content From File: write file name
- To Clear The Content Of A File: C write file name
- To Get The Size Of The Content Of A File: write folder name
- To Get The Size Of The Content Of A Folder: write folder name
- To Print The File/folder Names Inside A Folder: write folder name
- To Get The Walk Tree Of A Folder: Call The Method tree(): write folder name
- To watch Curent Directory just Choose option 11
- To watch Current Directory Files
Error Codes:
- FileNotFoundError: In Case The File We Want To Modify Does Not Exist.
- FileExistsError: In Case The File We Want To Create Already Exists.
- TypeError: In Case The Location Is Not Written In String.