| 1 |
Source: golang-github-git-pkgs-gitignore |
| 2 |
Section: golang |
| 3 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 |
Uploaders: |
| 5 |
Simon Josefsson <[email protected]>, |
| 6 |
Build-Depends: |
| 7 |
debhelper-compat (= 13), |
| 8 |
dh-sequence-golang, |
| 9 |
dpkg-build-api (= 1), |
| 10 |
git <!nocheck>, |
| 11 |
golang-any, |
| 12 |
Testsuite: autopkgtest-pkg-go |
| 13 |
Standards-Version: 4.7.4 |
| 14 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-git-pkgs-gitignore |
| 15 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-git-pkgs-gitignore.git |
| 16 |
Homepage: https://github.com/git-pkgs/gitignore |
| 17 |
XS-Go-Import-Path: github.com/git-pkgs/gitignore |
| 18 |
|
| 19 |
Package: golang-github-git-pkgs-gitignore-dev |
| 20 |
Architecture: all |
| 21 |
Multi-Arch: foreign |
| 22 |
Depends: |
| 23 |
${misc:Depends}, |
| 24 |
Description: matching paths against gitignore rules (Go library) |
| 25 |
A Go library for matching paths against gitignore rules. Pattern |
| 26 |
matching uses a direct wildmatch implementation (two-pointer |
| 27 |
backtracking, same algorithm as git's wildmatch.c) rather than compiling |
| 28 |
patterns to regexes or delegating to filepath.Match |
| 29 |
. |
| 30 |
* Wildmatch engine modeled on git's own wildmatch.c, tested against |
| 31 |
git's wildmatch test suite |
| 32 |
* Bracket expressions with ranges, negation, backslash escapes, and all |
| 33 |
12 POSIX character classes ([:alnum:], [:alpha:], etc.) |
| 34 |
* Proper ** handling (zero or more directories, only when standalone |
| 35 |
between separators) |
| 36 |
* core.excludesfile support with XDG fallback |
| 37 |
* Automatic nested .gitignore discovery via NewFromDirectory and Walk |
| 38 |
* Negation patterns with correct last-match-wins semantics |
| 39 |
* Directory-only patterns (trailing /) with descendant matching |
| 40 |
* Match provenance via MatchDetail (which pattern, file, and line |
| 41 |
number |
| 42 |
matched) |
| 43 |
* Invalid pattern surfacing via Errors() |
| 44 |
* Literal suffix fast-reject for common patterns like *.log |
| 45 |
. |
| 46 |
This package contains the Go development library. |