ruby-pathspec

Library to match path patterns such as gitignore
  https://github.com/highb/pathspec-ruby
  0
  no reviews



This library implements matching of path patterns as they exist in gitignore files. With this library you can load a gitignore file, and then verify that a path matches one of the patterns listed in the file. You can also find out all of the files matching different patterns in a whole hierarchy of a filesystem.

This library is a ruby port of the Python library with the same name.