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
파일 보기 프로젝트 열기: slashdotdash/Duplicity

공개 메소드들

메소드 설명
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