public void MoveDirectory(RootedCanonicalPath source, RootedCanonicalPath destination) { throw new NotImplementedException(); }
public DateTime GetDirectoryLastWriteTime(RootedCanonicalPath path) { return System.IO.Directory.GetLastWriteTime(FullPathWithBackslashOnDrives(path.FullPath)); }
public DateTime GetFileLastAccessTime(RootedCanonicalPath path) { return System.IO.File.GetLastAccessTime(path.FullPath); }
public System.IO.Stream CreateWriteStream(RootedCanonicalPath path) { return new System.IO.FileInfo(path.FullPath).Open(System.IO.FileMode.Create, System.IO.FileAccess.Write); }
public void DeleteFile(RootedCanonicalPath path) { System.IO.File.Delete(path.FullPath); }
public void CopyFile(RootedCanonicalPath source, RootedCanonicalPath destination) { System.IO.File.Copy(source.FullPath, destination.FullPath); }
public void CreateDirectory(RootedCanonicalPath path) { System.IO.Directory.CreateDirectory(path.FullPath); }
public void DeleteDirectory(RootedCanonicalPath path, bool recursive) { throw new NotImplementedException(); }
public void DeleteFile(RootedCanonicalPath path) { throw new NotImplementedException(); }
public void CreateDirectory(RootedCanonicalPath path) { throw new NotImplementedException(); }
public Stream CreateWriteStream(RootedCanonicalPath path) { throw new NotImplementedException(); }
public void CopyFile(RootedCanonicalPath source, RootedCanonicalPath destination) { throw new NotImplementedException(); }
public void SetFileLastWriteTime(RootedCanonicalPath path, DateTime at) { throw new NotImplementedException(); }
public void SetDirectoryLastAccessTime(RootedCanonicalPath path, DateTime at) { throw new NotImplementedException(); }
public void SetFileLastWriteTime(RootedCanonicalPath path, DateTime at) { System.IO.File.SetLastWriteTime(path.FullPath, at); }
public long GetFileSize(RootedCanonicalPath path) { return new System.IO.FileInfo(path.FullPath).Length; }
public void CopyAndOverwriteFile(RootedCanonicalPath source, RootedCanonicalPath destination) { System.IO.File.Copy(source.FullPath, destination.FullPath, true); }
public bool IsDirectory(RootedCanonicalPath path) { return System.IO.Directory.Exists(path.FullPath); }
public System.IO.Stream CreateAppendStream(RootedCanonicalPath path) { return new System.IO.FileStream(path.FullPath, System.IO.FileMode.Append); }
public bool IsFile(RootedCanonicalPath path) { return System.IO.File.Exists(path.FullPath); }
public System.IO.Stream CreateReadStream(RootedCanonicalPath path) { return new System.IO.FileInfo(path.FullPath).Open(System.IO.FileMode.Open, System.IO.FileAccess.Read, System.IO.FileShare.Read); }
public void MoveDirectory(RootedCanonicalPath source, RootedCanonicalPath destination) { System.IO.Directory.Move(source.FullPath, destination.FullPath); }
public void DeleteDirectory(RootedCanonicalPath path, bool recursive) { System.IO.Directory.Delete(path.FullPath, recursive); }
public void SetCurrentDirectory(RootedCanonicalPath path) { _currentDirectory = path.FullPath; }
public IEnumerable<string> GetDirectoriesInDirectory(RootedCanonicalPath path) { return System.IO.Directory.GetDirectories(FullPathWithBackslashOnDrives(path.FullPath)); }
public void SetDirectoryLastWriteTime(RootedCanonicalPath path, DateTime at) { System.IO.Directory.SetLastWriteTime(FullPathWithBackslashOnDrives(path.FullPath), at); }
public DateTime GetFileCreationTime(RootedCanonicalPath path) { return System.IO.File.GetCreationTime(path.FullPath); }
public void SetFileCreationTime(RootedCanonicalPath path, DateTime at) { System.IO.File.SetCreationTime(path.FullPath, at); }
public bool Equals(RootedCanonicalPath other) { return Equals(other.FullPath, FullPath); }
public bool IsFile(RootedCanonicalPath path) { throw new NotImplementedException(); }