Skip to content

Add DirectoryHashCalculator #2755

@eoehen

Description

@eoehen

Add a DirectoryHashCalculator in Cake.Commen.Security for creating a hash of an given directory?

The usage would be about the same as the FileHashCalculator, just that a DirectoryPath is specified instead of a FilePath. The implementation should return a DirectoryHash instead of a FileHash.

The private GetHashAlgorithm function in FileHashCalculator should be outsourced for common use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions