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

Inheritance: IFileSystemChangeFilter
ファイルを表示 Open project: slashdotdash/Duplicity Class Usage Examples

Public Methods

Method Description
Exclude ( IMatcher matcher ) : void

Any file system changes matching will be excluded

Filter ( FileSystemChange change ) : bool

Should the given change be filtered out given the configured .gitignore rules?

Include ( IMatcher matcher ) : void

Any file system changes matching will be included, taking precedence over any exclusions.

Private Methods

Method Description
ShouldBeExcluded ( FileSystemChange change ) : bool
ShouldBeIncluded ( FileSystemChange change ) : bool

Method Details

Exclude() public method

Any file system changes matching will be excluded
public Exclude ( IMatcher matcher ) : void
matcher IMatcher
return void

Filter() public method

Should the given change be filtered out given the configured .gitignore rules?
public Filter ( FileSystemChange change ) : bool
change FileSystemChange
return bool

Include() public method

Any file system changes matching will be included, taking precedence over any exclusions.
public Include ( IMatcher matcher ) : void
matcher IMatcher
return void