public string ReadAllText(NPath path) { return(fileSystem.ReadAllText(path.ToProcessDirectory().ToString())); }
public byte[] ReadAllBytes(NPath path) { return(fileSystem.ReadAllBytes(path.ToProcessDirectory().ToString())); }
public string[] ReadAllLines(NPath path) { return(fileSystem.ReadAllLines(path.ToProcessDirectory().ToString())); }
public Stream OpenRead(NPath path) { return(fileSystem.OpenRead(path.ToProcessDirectory().ToString())); }
public Stream OpenWrite(NPath path, FileMode mode) { return(fileSystem.OpenWrite(path.ToProcessDirectory().ToString(), mode)); }
public void WriteAllText(NPath path, string contents, Encoding encoding) { fileSystem.WriteAllText(path.ToProcessDirectory().ToString(), contents, encoding); }
public void DirectoryCreate(NPath path) { fileSystem.DirectoryCreate(path.ToProcessDirectory().ToString()); }
public void FileMove(NPath from, NPath to) { fileSystem.FileMove(from.ToProcessDirectory().ToString(), to.ToProcessDirectory().ToString()); }
public IEnumerable <string> GetDirectories(NPath path, string pattern) { return(fileSystem.GetDirectories(path.ToProcessDirectory().ToString(), pattern)); }
public void FileDelete(NPath path) { fileSystem.FileDelete(path.ToProcessDirectory().ToString()); }
public bool FileExists(NPath path) { return(fileSystem.FileExists(path.ToProcessDirectory().ToString())); }
public void FileCopy(NPath from, NPath to, bool overwrite) { fileSystem.FileCopy(from.ToProcessDirectory().ToString(), to.ToProcessDirectory().ToString(), overwrite); }
public bool ExistingPathIsDirectory(NPath path) { return(fileSystem.ExistingPathIsDirectory(path.ToProcessDirectory().ToString())); }
public void DirectoryDelete(NPath path, bool recursive) { fileSystem.DirectoryDelete(path.ToProcessDirectory().ToString(), recursive); }
public string ReadAllText(NPath path, Encoding encoding) { return(fileSystem.ReadAllText(path.ToProcessDirectory().ToString(), encoding)); }
public IEnumerable <string> GetFiles(NPath path) { return(fileSystem.GetFiles(path.ToProcessDirectory().ToString())); }
public void WriteAllBytes(NPath path, byte[] bytes) { fileSystem.WriteAllBytes(path.ToProcessDirectory().ToString(), bytes); }
public IEnumerable <string> GetFiles(NPath path, string pattern, SearchOption searchOption) { return(fileSystem.GetFiles(path.ToProcessDirectory().ToString(), pattern, searchOption)); }
public void WriteLines(NPath path, string[] contents) { fileSystem.WriteLines(path.ToProcessDirectory().ToString(), contents); }
public static string CalculateMD5(this NPath path) { return(NPath.FileSystem.CalculateFileMD5(path.ToProcessDirectory())); }