Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.41 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.41 KB

matchfile-parser

Build Status Go Report Card GitHub last commit License

Parser of matchfile file format

Format

The format is inspired by gitignore.

[#][!][<kind>,...] <path>
...

When the multiple kinds are specified, the condition matches when either of them matches.

The line starts with "#" is ignored as code comment. Note that the comment in the middle of the line isn't supported.

[<kind>,...] is optional, and the default value is equal,dir,glob.

kind

LICENSE

MIT