C# Class Phantom.Core.Glob

Afficher le fichier Open project: emilcardell/Phantom

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public static FnMatch ( string pattern, string path, int flags ) : bool
pattern string
path string
flags int
Résultat bool

GlobResults() public static méthode

public static GlobResults ( IFileAdaptionLayer pal, string pattern, int flags ) : IEnumerable
pal IFileAdaptionLayer
pattern string
flags int
Résultat IEnumerable

GlobResults() public static méthode

public static GlobResults ( string pattern ) : IEnumerable
pattern string
Résultat IEnumerable