This project shows a directory structure in C. Users can make file and folder systems using features such as the following:
- Node Structure: This makes use of the linked nodes to represent both files and directories.
- Add Files and Directories: User can add files or directories under any chosen parent directory.
- Display Structure: This shows the structure of the directory in order to have a visual for the hierarchy.
- Search Function: Users can search files or folders by name and determine whether it is a file or directory.
- Safe Deletion: Users can delete files and directories, but core folders like "Downloads," "Documents," "Music," "Desktop," and "Pictures" cannot be deleted for safety purposes.
- Recover Deleted Items: Users can recover the last deleted file or folder, restoring it to the main system.
- Memory Management: This makes sure that no memory leak occurs when the program ends, hence leaving the system clean. This is a system designed to help users handle their files in a safe manner, thus protecting such vital data and enabling one to recover at will.