Package: wnpp
Severity: wishlist
Owner: Simon Josefsson <[email protected]>

* Package name    : golang-github-git-pkgs-gitignore
  Version         : 1.1.2-1
  Upstream Author : git-pkgs
* URL             : https://github.com/git-pkgs/gitignore
* License         : Expat
  Programming Lang: Go
  Description     : library for matching paths against gitignore rules.

 A Go library for matching paths against gitignore rules. Pattern
 matching uses a direct wildmatch implementation (two-pointer
 backtracking, same algorithm as git's wildmatch.c) rather than compiling
 patterns to regexes or delegating to filepath.Match
 .
  * Wildmatch engine modeled on git's own wildmatch.c, tested against
    git's wildmatch test suite
  * Bracket expressions with ranges, negation, backslash escapes, and all
    12 POSIX character classes ([:alnum:], [:alpha:], etc.)
  * Proper ** handling (zero or more directories, only when standalone
    between separators)
  * core.excludesfile support with XDG fallback
  * Automatic nested .gitignore discovery via NewFromDirectory and Walk
  * Negation patterns with correct last-match-wins semantics
  * Directory-only patterns (trailing /) with descendant matching
  * Match provenance via MatchDetail (which pattern, file, and line
   number
    matched)
  * Invalid pattern surfacing via Errors()
  * Literal suffix fast-reject for common patterns like *.log

https://salsa.debian.org/go-team/packages/golang-github-git-pkgs-gitignore
https://salsa.debian.org/jas/golang-github-git-pkgs-gitignore/-/pipelines

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to