add chksum.spec.md

This contains all the requirements and restrictions for this project
This commit is contained in:
AustrianToast 2024-02-14 00:14:18 +01:00
parent 74425df83e
commit 1f3f03fed4
No known key found for this signature in database
GPG Key ID: 5CD422268E489EB4

16
chksum.spec.md Normal file
View File

@ -0,0 +1,16 @@
The code responsible for traversing all files/folders needs to be seperate from the actual code responsible for checksumming the files/folders. The return value still has to be fixated, but I would choose something like a string array/vector of filepaths.
Only use classes were it actually makes sense. Instead prefer structs for data encapsulation.
It needs to be able to accept cmdline arguments as input only. Args are comprised of:
- flags like --help or -v/--verbose
- a filepath from which it should checksum
It needs be able to checksum files or folders or both.
It should be able to save the checksums in a structured way. Something like:
- Database
- CSV
- ...