C# Класс 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.
Наследование: IMatcher
Показать файл Открыть проект

Открытые методы

Метод Описание
FileMatcher ( string pattern ) : System
IsMatch ( FileSystemChange change ) : bool

Приватные методы

Метод Описание
ExtractFileOrDirectoryNameOnly ( FileSystemChange change ) : string
GetDirectoryName ( string path ) : string
IsMatch ( string path ) : bool

Описание методов

FileMatcher() публичный Метод

public FileMatcher ( string pattern ) : System
pattern string
Результат System

IsMatch() публичный Метод

public IsMatch ( FileSystemChange change ) : bool
change FileSystemChange
Результат bool