view shasum.py @ 314:1fbe9904b188

treesum: assert also in .write_accept_treesum() that the given filename is of bytes type
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 10 Mar 2025 10:10:41 +0100
parents 1e5127028254
children 48430941c18c
line wrap: on
line source

# -*- coding: utf-8 -*-
# :-
# :Copyright: (c) 2020-2025 Franz Glasner
# :License:   BSD-3-Clause
# :-
r"""Pure Python implementation of `shasum`.

"""

from __future__ import absolute_import

import sys

import cutils.shasum


sys.exit(cutils.shasum.main())