Mercurial > hgrepos > Python > apps > py-cutils
view shasum.py @ 343:b3931b511ed0
Also encode TAB characters specially for output in digest files.
Because with the new tabular output style we have the TAB character as column
separator.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Tue, 01 Apr 2025 12:15:05 +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())
