Mercurial > hgrepos > Python > apps > py-cutils
view genpwd.py @ 276:f7850ff5cbe0
treesum: when walking: if filenames contain CR and/or LF pretend that this names are not properly encoded.
So the alt_xxx() path is to be used with a proper additional backslash encoding.
Also the directory is marked tainted.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 21 Feb 2025 16:33:56 +0100 |
| parents | 6d8443878a00 |
| children | 48430941c18c |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # :Copyright: (c) 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.genpwd sys.exit(cutils.genpwd.main())
