Mercurial > hgrepos > Python > apps > py-cutils
annotate README.txt @ 177:089c40240061
Add an alternate implementation for generating directory tree digests:
- Do not use something like os.walk() but use os.scandir() directly.
- Recursively generate the subdirectory digests only when needed and in
the right order.
This fixes that the order of subdirectories in the output did not
match the application order of its directory digests.
The new implementation also should make filtering (that will be
implemented later) easier.
NOTE: The tree digests of the old and the new implementation are identical.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 11 Jan 2025 17:41:28 +0100 |
| parents | dfe7bb0579e2 |
| children | 798c79420f65 |
| rev | line source |
|---|---|
| 31 | 1 =========== |
| 2 py-cutils | |
| 3 =========== | |
| 4 | |
| 5 :Author: Franz Glasner | |
| 107 | 6 :Version: 0.4.4 |
| 7 :Date: 2022-05-30 | |
|
126
dfe7bb0579e2
Extend copyright years to 2025
Franz Glasner <fzglas.hg@dom66.de>
parents:
124
diff
changeset
|
8 :Copyright: (c) 2020-2025 Franz Glasner |
| 31 | 9 :License: BSD 3-Clause "New" or "Revised" License |
|
124
3bd3f32b5e60
A first version of "treesum" is working
Franz Glasner <fzglas.hg@dom66.de>
parents:
107
diff
changeset
|
10 :ID: @(#) $HGid$ |
| 31 | 11 |
|
124
3bd3f32b5e60
A first version of "treesum" is working
Franz Glasner <fzglas.hg@dom66.de>
parents:
107
diff
changeset
|
12 Pure Python implementations of coreutils and some additional utilities. |
| 31 | 13 |
| 14 Currently implemented: | |
| 15 | |
|
36
1de48e84a5fb
Implemented a dos2unix command.
Franz Glasner <fzglas.hg@dom66.de>
parents:
33
diff
changeset
|
16 - `dos2unix` as :command:`py-dos2unix` |
| 31 | 17 - `shasum` as :command:`py-shasum` |
|
124
3bd3f32b5e60
A first version of "treesum" is working
Franz Glasner <fzglas.hg@dom66.de>
parents:
107
diff
changeset
|
18 |
|
3bd3f32b5e60
A first version of "treesum" is working
Franz Glasner <fzglas.hg@dom66.de>
parents:
107
diff
changeset
|
19 Additional utilities: |
|
3bd3f32b5e60
A first version of "treesum" is working
Franz Glasner <fzglas.hg@dom66.de>
parents:
107
diff
changeset
|
20 |
|
3bd3f32b5e60
A first version of "treesum" is working
Franz Glasner <fzglas.hg@dom66.de>
parents:
107
diff
changeset
|
21 - :command:`py-treesum` to compute hash trees for directories. |
