Debian Codegraph @

debian/control

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