1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
Source: golang-github-bmatcuk-doublestar
Section: devel
Priority: optional
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Thorsten Alteholz <debian@alteholz.de>
Build-Depends: debhelper-compat (= 12),
dh-golang,
golang-any
Standards-Version: 4.5.0
Homepage: https://github.com/bmatcuk/doublestar
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-bmatcuk-doublestar
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-bmatcuk-doublestar.git
XS-Go-Import-Path: github.com/bmatcuk/doublestar
Testsuite: autopkgtest-pkg-go
Package: golang-github-bmatcuk-doublestar-dev
Architecture: all
Depends: ${misc:Depends}
Multi-Arch: foreign
Description: support for double star matches in golang's path.Match and filepath.Glob
This package contains a Golang implementation of path pattern matching
and globbing with support for "doublestar" (aka globstar: **) patterns.
.
doublestar patterns match files and directories recursively. For example,
if you had the following directory structure:
.
grandparent `-- parent
|-- child1 `-- child2
.
You could find the children with patterns such as: **/child*,
grandparent/**/child?, **/parent/*, or even just ** by itself (which
will return all files and directories recursively).
.
Bash's globstar is doublestar's inspiration and, as such, works similarly.
Note that the doublestar must appear as a path component by itself. A
pattern such as /path** is invalid and will be treated the same as
/path*, but /path*/** should achieve the desired result. Additionally,
/path/** will match all directories and files under the path directory,
but /path/**/ will only match directories.
|