Mercurial > hgrepos > Python > apps > py-cutils
view shasum.py @ 385:ea73723be05e
treesum: unit tests with an existing .treesum file:
- ignore them
- FIX: checksums where existing .treesum files were not ignored properly
- accept them with (implicitly) changing the algorithm
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 17 May 2025 16:53:16 +0200 |
| parents | 48430941c18c |
| children |
line wrap: on
line source
# -*- coding: utf-8 -*- # :- # SPDX-FileCopyrightText: © 2020-2025 Franz Glasner # SPDX-License-Identifier: BSD-3-Clause # :- r"""Pure Python implementation of `shasum`. """ from __future__ import absolute_import import sys import cutils.shasum sys.exit(cutils.shasum.main())
