Skip to content

Two potential additions #33

@Aetherinox

Description

@Aetherinox

If you have enough time, two proposed features would be a huge bonus to this project.

  1. No specified input folder would result in the current working directory being selected
  • Primarily this is for the --verify argument
  • You'd have to add a manual entry to the excludeSpecList list which excludes DirHash.exe
  1. Being able to specify a single filename in a manner such as
DirHash --verify "SHA256.txt" --file "somefile.zip"

and have it check the hash for the specified is in the sha256.txt file. Instead of looping through all the entries.

Not sure of what direction you want to take this app in, but I figured I would throw these out there, because these are two features that would heavily help.

Unfortunately, C and C++ are not my primary languages. I could add these to my own build, but the biggest concern would the first suggestion.

You can set the current working directory, however, that would leave argv and argc an argument short which shifts everything unless you define the current working directory and then manually insert that back into argv and argc so that it can be used further down in the code. Otherwise you end up with the algorithm Blake3 being used every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions