annotate _cutils.py @ 68:4c2da9c74d7c

"compute_digest_file()" now also accepts an already opened file descriptor. It therefore may refere also to a pipe or socket. "mmap" is automatically disabled in these cases.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 26 Feb 2022 17:24:06 +0100
parents 44172581bfb8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 r"""
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
2 :Author: Franz Glasner
43
d856432a1cbb Extend copyright year to 2022
Franz Glasner <fzglas.hg@dom66.de>
parents: 37
diff changeset
3 :Copyright: (c) 2020-2022 Franz Glasner.
30
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 All rights reserved.
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 :License: BSD 3-Clause "New" or "Revised" License.
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
6 See :ref:`LICENSE <license>` for details.
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
7 If you cannot find LICENSE see
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8 <https://opensource.org/licenses/BSD-3-Clause>
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
9 :ID: @(#) $HGid$
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11 """
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
12
62
44172581bfb8 +++++ v0.3.3
Franz Glasner <fzglas.hg@dom66.de>
parents: 53
diff changeset
13 __version__ = "0.3.3"
30
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14
ffcce6062bee Put the version number info the optinal common module _cutils.py
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 __all__ = ["__version__"]