Mercurial > hgrepos > Python > apps > py-cutils
view treesum.py @ 338:e163e6754071
treesum: when printing an empty size on purpose do not provide an empty octet string but use -1 as size argument
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 31 Mar 2025 14:09:56 +0200 |
| parents | 48430941c18c |
| children |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # SPDX-FileCopyrightText: © 2025 Franz Glasner # SPDX-License-Identifier: 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())
