public static IEnumerable <MutableString> /*!*/ GetMatches(RubyContext /*!*/ context, MutableString /*!*/ pattern, int flags) { string strPattern = context.DecodePath(pattern); foreach (string strFileName in GetMatches(context.Platform, strPattern, flags)) { yield return(context.EncodePath(strFileName).TaintBy(pattern)); } }
internal static FileSystemInfo/*!*/ Create(RubyContext/*!*/ context, MutableString/*!*/ path) { return Create(context, context.DecodePath(path)); }
internal static bool Exists(RubyContext/*!*/ context, MutableString/*!*/ path) { var strPath = context.DecodePath(path); return context.Platform.DirectoryExists(strPath) || context.Platform.FileExists(strPath); }
internal static bool DirectoryExists(RubyContext/*!*/ context, MutableString/*!*/ path) { return context.Platform.DirectoryExists(context.DecodePath(path)); }
internal static FileSystemInfo /*!*/ Create(RubyContext /*!*/ context, MutableString /*!*/ path) { return(Create(context, context.DecodePath(path))); }
internal static bool Exists(RubyContext /*!*/ context, MutableString /*!*/ path) { var strPath = context.DecodePath(path); return(context.Platform.DirectoryExists(strPath) || context.Platform.FileExists(strPath)); }
internal static bool DirectoryExists(RubyContext /*!*/ context, MutableString /*!*/ path) { return(context.Platform.DirectoryExists(context.DecodePath(path))); }
public static IEnumerable<MutableString>/*!*/ GetMatches(RubyContext/*!*/ context, MutableString/*!*/ pattern, int flags) { string strPattern = context.DecodePath(pattern); foreach (string strFileName in GetMatches(context.Platform, strPattern, flags)) { yield return context.EncodePath(strFileName).TaintBy(pattern); } }
public RubyFile(RubyContext/*!*/ context, MutableString/*!*/ path, IOMode mode) : this(context, context.DecodePath(path), mode) { }
public RubyFile(RubyContext /*!*/ context, MutableString /*!*/ path, IOMode mode) : this(context, context.DecodePath(path), mode) { }