Mercurial > hgrepos > Python > apps > py-cutils
view shasum.py @ 368:7761a15b9736
treesum: Escape `\' using `\\' instead of `\x5c'.
Wished by sbro.
BUGS: Escaping should be controllable by a commandline option.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 10 Apr 2025 11:58:36 +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())
