summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-28can finally trash files and the program logs it. Its not very pretty though. ↵Oskar
I think ill have to make some more structs and functions for a cleaner way of handling this
2024-06-28got some suggestions on how to handle non option arguments, i did a little ↵Oskar
test on it and it seems to work. I will have to implement some sort of loop to handle multiple files
2024-06-28Changed from char pointers to already determined size, thus we can also ↵Oskar
remove 4 of the malloc's
2024-06-27find_highest_id is done, tested it some and added some debug cvm_fprintf's. ↵Oskar
I think it works? Testing will probably prove me wrong but ill deal with it when it happens.
2024-06-27Lots of small changes and improvements. Removed all instances of using stcat ↵Oskar
directly and moved to using concat_str for all those cases. Also added alot more free_ipi to all of the cases where we exit because of some error
2024-06-26added safeguards to fill_ipi, hope they are good enough...Oskar
2024-06-26went to hell and back to get concat_str to work properlyOskar
2024-06-25added basename so we only get the filenameOskar
2024-06-25function to get all the infoOskar
2024-06-25Added functions for path information as well as a function to check if trash ↵Oskar
directories exist
2024-06-24first commitOskar