https://github.com/anas-farooq8/filesystem
File System using c++, contains the basic functionalities for the user such as create, delete, write and read a file. Also create, navigate and remove directories. The program isn't persistence meaning the data is lost when the program finishes execution.
https://github.com/anas-farooq8/filesystem
catch2 cpp filesystem pointers
Last synced: over 1 year ago
JSON representation
File System using c++, contains the basic functionalities for the user such as create, delete, write and read a file. Also create, navigate and remove directories. The program isn't persistence meaning the data is lost when the program finishes execution.
- Host: GitHub
- URL: https://github.com/anas-farooq8/filesystem
- Owner: anas-farooq8
- Created: 2025-01-05T11:44:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-05T11:53:52.000Z (over 1 year ago)
- Last Synced: 2025-01-28T03:30:48.792Z (over 1 year ago)
- Topics: catch2, cpp, filesystem, pointers
- Language: C++
- Homepage:
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# File System
File System using c++, contains the basic functionalities for the user such as create, delete, write and read a file. Also create, navigate and remove directories. The program isn't persistence meaning the data is lost when the program finishes execution.
## Execution (Automated)
* Create a build Directoty.
* Navigate into it.

* Generate the build files.
```bash
cmake ..
```

* Compile the Project.
```bash
cmake --build .
```

* Run the test cases.
```bash
.\Debug\filesystem_tests.exe
```

* Run the Program.
```bash
.\Debug\filesystem.exe
```
## Execution (Manual)
* Be on the src directory of the project; compile the program and run it.
```bash
cd src
g++ -o main main.cpp Directory.cpp File.cpp FileDescriptor.cpp FileSystemObject.cpp FileSystemManager.cpp
./main
```

## Video Demo
https://github.com/user-attachments/assets/cbe2aee6-d403-4fa1-aee2-e9d80c6b0b7f