summaryrefslogtreecommitdiff
path: root/trashsystem2.cpp
AgeCommit message (Collapse)Author
2024-10-25restore is done, will need to do a lot of tests soonOskar
2024-10-24restore_file progress, not entirely doneOskar
2024-10-24split up restore file with another function find_by_id and slight ↵Oskar
modification to directory_entry class
2024-10-24function to validate -R option argumentsOskar
2024-10-23put_files_in_trashOskar
2024-10-23added readable time, basically the same as the C version with slight ↵Oskar
modification.
2024-10-23units doneOskar
2024-10-23new log file format, made list_trashed and long_list_trashed, they are not ↵Oskar
done as they still need some more functions to function properly. Log file format is now separated by whitespace instead of newlines which is much nicer to deal with when using string streams and such
2024-10-23get_file_info_from_log, done. Need to modify write log entry for a slightly ↵Oskar
different log format
2024-10-22more progress more problemsOskar
2024-10-21made file size function for directoriesOskar
2024-10-20some progress, still in the trenchesOskar
2024-10-19more functions done, not at all thoroughly tested yetOskar
2024-10-19new functions: determine_highest_id, get_files_in_directory. Also new type ↵Oskar
directory_entry that get_files_in_directory return in a vector.
2024-10-18a bit of a mess right now but working on itOskar
2024-10-18added ifs for all options, removed options -v and -t. Made function to check ↵Oskar
for and created trashsys directories. Wrote general structure of main(). It's based on trashsys version 1 main and pretty much the same in the steps it takes
2024-10-15debug options text, fixed some option if statementsOskar
2024-10-15tried to improve weird tab/spacingOskar
2024-10-14first commit, not much done yet. source file and header file. Same scripts ↵Oskar
used as version 1 trash system. Will probably make better test scripts eventually.