- LICENSE AND COPYRIGHT
Git::Raw::PathSpec - Git pathspec class
A Git::Raw::PathSpec represents a Git pathspec.
WARNING: The API of this module is unstable and may change without warning (any change will be appropriately documented in the changelog).
new( @paths )
Compile a new pathspec.
@match is the list of paths to match.
match( $object [, \%options] )
Math the pathspec against
$object could be a Git::Raw::Repository (matches against the working directory), Git::Raw::Index (matches against the index), Git::Raw::Tree (matches against the tree) or a Git::Raw::Diff (matches against the diff). Returns a Git::Raw::PathSpec::MatchList object. Valid fields for
Flags for the matches. Valid values include:
Forces match to ignore case, otherwise the match will use native case sensitivity of the platform's filesystem.
Forces case sensitive match, otherwise the match will use native case sensitivity of the platform's filesystem.
Disables glob patterns and just uses simple string comparison for matching.
mathshould return an error code if no matches were found.
Record patterns that did not match.
Only determine if there were patterns that did not match.
Alessandro Ghedini <firstname.lastname@example.org>
Jacques Germishuys <email@example.com>
LICENSE AND COPYRIGHT
Copyright 2012 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.