Paket: golang-github-bmatcuk-doublestar-dev (4.6.1-1)
Links für golang-github-bmatcuk-doublestar-dev
Debian-Ressourcen:
Quellcode-Paket golang-github-bmatcuk-doublestar herunterladen:
- [golang-github-bmatcuk-doublestar_4.6.1-1.dsc]
- [golang-github-bmatcuk-doublestar_4.6.1.orig.tar.gz]
- [golang-github-bmatcuk-doublestar_4.6.1-1.debian.tar.xz]
Betreuer:
Externe Ressourcen:
- Homepage [github.com]
Ähnliche Pakete:
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.
golang-github-bmatcuk-doublestar-dev herunterladen
Architektur | Paketgröße | Größe (installiert) | Dateien |
---|---|---|---|
all | 19,5 kB | 102,0 kB | [Liste der Dateien] |