C# Class Duplicity.Filtering.IgnoredFiles.GitIgnore.FileMatcher

Matches the patterns that do not contain a slash /, treating them as a shell glob pattern but checks for a match against the pathname without leading directories.
Inheritance: IMatcher
Afficher le fichier Open project: slashdotdash/Duplicity

Méthodes publiques

Méthode Description
FileMatcher ( string pattern ) : System
IsMatch ( FileSystemChange change ) : bool

Private Methods

Méthode Description
ExtractFileOrDirectoryNameOnly ( FileSystemChange change ) : string
GetDirectoryName ( string path ) : string
IsMatch ( string path ) : bool

Method Details

FileMatcher() public méthode

public FileMatcher ( string pattern ) : System
pattern string
Résultat System

IsMatch() public méthode

public IsMatch ( FileSystemChange change ) : bool
change FileSystemChange
Résultat bool