C# Class Microsoft.DocAsCode.Glob.FileGlob

Mostra file Open project: dotnet/docfx

Public Methods

Method Description
GetFiles ( string cwd, IEnumerable patterns, IEnumerable excludePatterns, GlobMatcherOptions options = GlobMatcher.DefaultOptions ) : IEnumerable

Private Methods

Method Description
GetFilesCore ( string cwd, IEnumerable globs, IEnumerable excludeGlobs ) : IEnumerable
GetFilesFromSubfolder ( string baseDirectory, string cwd, IEnumerable globs, IEnumerable excludeGlobs ) : IEnumerable
GetRelativeDirectoryPath ( string parentDirectory, string directory ) : string
GetRelativeFilePath ( string directory, string file ) : string
IsDirectoryMatch ( string path, IEnumerable globs, IEnumerable excludeGlobs ) : bool
IsFileMatch ( string path, IEnumerable globs, IEnumerable excludeGlobs ) : bool
IsMatch ( string path, IEnumerable globs, IEnumerable excludeGlobs, bool partial ) : bool
NormalizeToFullPath ( string path ) : string

Method Details

GetFiles() public static method

public static GetFiles ( string cwd, IEnumerable patterns, IEnumerable excludePatterns, GlobMatcherOptions options = GlobMatcher.DefaultOptions ) : IEnumerable
cwd string
patterns IEnumerable
excludePatterns IEnumerable
options GlobMatcherOptions
return IEnumerable