C# Класс Duplicity.Filtering.IgnoredFiles.GitIgnore.PathMatcher

Match patterns as a shell glob suitable for consumption by fnmatch, but wildcards in the pattern will not match a / in the pathname.
Наследование: IMatcher
Показать файл Открыть проект

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

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

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

Метод Описание
AdaptToPattern ( string path ) : string

.gitignore patterns are specified using the Unix path separator character (/). We need to replace the current environment directory separator charactor with a forward slash.

IsMatch ( string path ) : bool

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

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

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

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

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