You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lightweight python module and tool for computing the hash of any
5
+
A lightweight python module and CLI for computing the hash of any
6
6
directory based on its files' structure and content.
7
-
- Supports any hashing algorithm of Python's built-in `hashlib` module
8
-
-`.gitignore` style "wildmatch" patterns for expressive filtering of files to
9
-
include/exclude.
7
+
- Supports all hashing algorithms of Python's built-in `hashlib` module.
8
+
- Glob/wildcard (".gitignore style") path matching for expressive filtering of files to include/exclude.
10
9
- Multiprocessing for up to [6x speed-up](#performance)
11
10
12
11
The hash is computed according to the [Dirhash Standard](https://github.com/andhus/dirhash), which is designed to allow for consistent and collision resistant generation/verification of directory hashes across implementations.
@@ -68,7 +67,7 @@ and executing `hashlib` code.
68
67
The main effort to boost performance is support for multiprocessing, where the
69
68
reading and hashing is parallelized over individual files.
70
69
71
-
As a reference, let's compare the performance of the `dirhash`[CLI](https://github.com/andhus/dirhash/dirhash-python/cli.py)
70
+
As a reference, let's compare the performance of the `dirhash`[CLI](https://github.com/andhus/dirhash-python/cli.py)
0 commit comments