-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: broken directory expansion (#14)
Python implementation doesn't handle globbing correctly, while the Rust version did (sort of). Turns out the Rust library's globbing doesn't match the git globbing, exactly, but it did a better job than the initial python implementation. Ended up porting a [Go implementation][0] of code owners. Pretty much line for line except some minor differences in Go's regex vs Python's. fixes: #13 [0]: https://github.com/hmarr/codeowners/blob/d0452091447bd2a29ee508eebc5a79874fb5d4ff/match.go#L33
- Loading branch information
Showing
3 changed files
with
545 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.