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
ファイルを表示 Open project: slashdotdash/Duplicity

Public Methods

Method Description
FileMatcher ( string pattern ) : System
IsMatch ( FileSystemChange change ) : bool

Private Methods

Method Description
ExtractFileOrDirectoryNameOnly ( FileSystemChange change ) : string
GetDirectoryName ( string path ) : string
IsMatch ( string path ) : bool

Method Details

FileMatcher() public method

public FileMatcher ( string pattern ) : System
pattern string
return System

IsMatch() public method

public IsMatch ( FileSystemChange change ) : bool
change FileSystemChange
return bool