C# Class Phantom.Core.Glob

Exibir arquivo Open project: emilcardell/Phantom

Public Methods

Method Description
FnMatch ( string pattern, string path, int flags ) : bool
GlobResults ( IFileAdaptionLayer pal, string pattern, int flags ) : IEnumerable
GlobResults ( string pattern ) : IEnumerable

Private Methods

Method Description
AppendExplicitRegexChar ( StringBuilder builder, char c ) : void
PatternToRegex ( string pattern, bool pathName, bool noEscape ) : string
UngroupGlobs ( string pattern, bool noEscape ) : string[]

Method Details

FnMatch() public static method

public static FnMatch ( string pattern, string path, int flags ) : bool
pattern string
path string
flags int
return bool

GlobResults() public static method

public static GlobResults ( IFileAdaptionLayer pal, string pattern, int flags ) : IEnumerable
pal IFileAdaptionLayer
pattern string
flags int
return IEnumerable

GlobResults() public static method

public static GlobResults ( string pattern ) : IEnumerable
pattern string
return IEnumerable