Mercurial > hgrepos > Python > apps > py-cutils
view treesum.py @ 200:22f92bf3572c
Print the FSENCODING in uppdercase characters always.
So the CRC has a better chance to be identical for different Python versions
if all the other data is identical too.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 17 Jan 2025 20:12:58 +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())
