view shasum.py @ 89:72684020f2f3

By default use mmap only for files up to 8MiB in size. This follows the FreeBSD cp(1) implementation.
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 21 Apr 2022 01:20:35 +0200
parents 6cec638c995c
children 6378ba9ae949
line wrap: on
line source

# -*- coding: utf-8 -*-
# :-
# :Copyright: (c) 2020-2022 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())