Mercurial > hgrepos > Python > apps > py-cutils
view treesum.py @ 270:42f4ca423ab3
treesum: REFACTOR: Major refactoring of computing digests:
- Digests that are created by reading symlink targets are created as if the
result of readllink() is the content of a regulare file: no special
tagging is done now.
- All digest values have their canonical algorithm name prepended.
- Normalize the order of computation
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 18 Feb 2025 16:07:28 +0100 |
| parents | dfe7bb0579e2 |
| children | 48430941c18c |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 2020-2025 Franz Glasner # :License: BSD-3-Clause # :- r"""Pure Python implementation of a directory tree checksum. """ from __future__ import absolute_import import sys import cutils.treesum sys.exit(cutils.treesum.main())
