view cutils/util/fnmatch.py @ 301:d246b631b85a

treesum: Change debug output: make output when entering a new root directory different from recursing into a sub-directory
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 05 Mar 2025 10:06:38 +0100
parents 1fc117f5f9a1
children bf88323d6bf7
line wrap: on
line source

# -*- coding: utf-8 -*-
# :-
# :Copyright: (c) 2020-2025 Franz Glasner
# :License:   BSD-3-Clause
# :-
r"""File name matching.

"""

from __future__ import print_function, absolute_import


__all__ = []


HELP_DESCRIPTION = """\
PATTERNs
========

  glob: case-sensitive, anchored at the begin and end
  iglob: case-insensitive variant of "glob"
  re: regular expression
  path: plain text example (rooted), can be a file or a directory or a prefix
        thereof
  filepath: exactly a single file, relative to the root of the tree

"""