internal string[] ReadAllLines() { ThrowIfNotInitialized(); return(FSWrapper.ReadAllLines(this)); }
internal byte[] ReadAllBytes() { ThrowIfNotInitialized(); return(FSWrapper.ReadAllBytes(this)); }
internal string ReadAllText(Encoding encoding) { ThrowIfNotInitialized(); return(FSWrapper.ReadAllText(this, encoding)); }
internal string ReadAllText() { ThrowIfNotInitialized(); return(FSWrapper.ReadAllText(this)); }
internal IEnumerable <NPath> Directories(string filter, bool recurse = false) { return(FSWrapper.GetDirectories(this, filter, recurse ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly).Select(s => new NPath(s))); }
internal bool FileExists() { ThrowIfNotInitialized(); return(FSWrapper.FileExists(this)); }
internal bool DirectoryExists() { ThrowIfNotInitialized(); return(FSWrapper.DirectoryExists(this)); }