From 1f3f03fed467270f4bf8c583c8316b73d25d7e05 Mon Sep 17 00:00:00 2001 From: AustrianToast Date: Wed, 14 Feb 2024 00:14:18 +0100 Subject: [PATCH] add chksum.spec.md This contains all the requirements and restrictions for this project --- chksum.spec.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 chksum.spec.md diff --git a/chksum.spec.md b/chksum.spec.md new file mode 100644 index 0000000..9ea07b8 --- /dev/null +++ b/chksum.spec.md @@ -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 +- ... \ No newline at end of file