chksum_cpp/chksum.spec.md
AustrianToast 1f3f03fed4
add chksum.spec.md
This contains all the requirements and restrictions for this project
2024-02-14 00:14:18 +01:00

676 B

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
  • ...