[ 源代码: ruby-pathspec ]
软件包:ruby-pathspec(1.0.0-1)
Library to match path patterns such as gitignore
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.