Beispiel #1
0
 public void MoveDirectory(RootedCanonicalPath source, RootedCanonicalPath destination)
 {
     throw new NotImplementedException();
 }
Beispiel #2
0
 public DateTime GetDirectoryLastWriteTime(RootedCanonicalPath path)
 {
     return System.IO.Directory.GetLastWriteTime(FullPathWithBackslashOnDrives(path.FullPath));
 }
Beispiel #3
0
 public DateTime GetFileLastAccessTime(RootedCanonicalPath path)
 {
     return System.IO.File.GetLastAccessTime(path.FullPath);
 }
Beispiel #4
0
 public System.IO.Stream CreateWriteStream(RootedCanonicalPath path)
 {
     return new System.IO.FileInfo(path.FullPath).Open(System.IO.FileMode.Create, System.IO.FileAccess.Write);
 }
Beispiel #5
0
 public void DeleteFile(RootedCanonicalPath path)
 {
     System.IO.File.Delete(path.FullPath);
 }
Beispiel #6
0
 public void CopyFile(RootedCanonicalPath source, RootedCanonicalPath destination)
 {
     System.IO.File.Copy(source.FullPath, destination.FullPath);
 }
Beispiel #7
0
 public void CreateDirectory(RootedCanonicalPath path)
 {
     System.IO.Directory.CreateDirectory(path.FullPath);
 }
Beispiel #8
0
 public void DeleteDirectory(RootedCanonicalPath path, bool recursive)
 {
     throw new NotImplementedException();
 }
Beispiel #9
0
 public void DeleteFile(RootedCanonicalPath path)
 {
     throw new NotImplementedException();
 }
Beispiel #10
0
 public void CreateDirectory(RootedCanonicalPath path)
 {
     throw new NotImplementedException();
 }
Beispiel #11
0
 public Stream CreateWriteStream(RootedCanonicalPath path)
 {
     throw new NotImplementedException();
 }
Beispiel #12
0
 public void CopyFile(RootedCanonicalPath source, RootedCanonicalPath destination)
 {
     throw new NotImplementedException();
 }
Beispiel #13
0
 public void SetFileLastWriteTime(RootedCanonicalPath path, DateTime at)
 {
     throw new NotImplementedException();
 }
Beispiel #14
0
 public void SetDirectoryLastAccessTime(RootedCanonicalPath path, DateTime at)
 {
     throw new NotImplementedException();
 }
Beispiel #15
0
 public void SetFileLastWriteTime(RootedCanonicalPath path, DateTime at)
 {
     System.IO.File.SetLastWriteTime(path.FullPath, at);
 }
Beispiel #16
0
 public long GetFileSize(RootedCanonicalPath path)
 {
     return new System.IO.FileInfo(path.FullPath).Length;
 }
Beispiel #17
0
 public void CopyAndOverwriteFile(RootedCanonicalPath source, RootedCanonicalPath destination)
 {
     System.IO.File.Copy(source.FullPath, destination.FullPath, true);
 }
Beispiel #18
0
 public bool IsDirectory(RootedCanonicalPath path)
 {
     return System.IO.Directory.Exists(path.FullPath);
 }
Beispiel #19
0
 public System.IO.Stream CreateAppendStream(RootedCanonicalPath path)
 {
     return new System.IO.FileStream(path.FullPath, System.IO.FileMode.Append);
 }
Beispiel #20
0
 public bool IsFile(RootedCanonicalPath path)
 {
     return System.IO.File.Exists(path.FullPath);
 }
Beispiel #21
0
 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);
 }
Beispiel #22
0
 public void MoveDirectory(RootedCanonicalPath source, RootedCanonicalPath destination)
 {
     System.IO.Directory.Move(source.FullPath, destination.FullPath);
 }
Beispiel #23
0
 public void DeleteDirectory(RootedCanonicalPath path, bool recursive)
 {
     System.IO.Directory.Delete(path.FullPath, recursive);
 }
Beispiel #24
0
 public void SetCurrentDirectory(RootedCanonicalPath path)
 {
     _currentDirectory = path.FullPath;
 }
Beispiel #25
0
 public IEnumerable<string> GetDirectoriesInDirectory(RootedCanonicalPath path)
 {
     return System.IO.Directory.GetDirectories(FullPathWithBackslashOnDrives(path.FullPath));
 }
Beispiel #26
0
 public void SetDirectoryLastWriteTime(RootedCanonicalPath path, DateTime at)
 {
     System.IO.Directory.SetLastWriteTime(FullPathWithBackslashOnDrives(path.FullPath), at);
 }
Beispiel #27
0
 public DateTime GetFileCreationTime(RootedCanonicalPath path)
 {
     return System.IO.File.GetCreationTime(path.FullPath);
 }
Beispiel #28
0
 public void SetFileCreationTime(RootedCanonicalPath path, DateTime at)
 {
     System.IO.File.SetCreationTime(path.FullPath, at);
 }
Beispiel #29
0
 public bool Equals(RootedCanonicalPath other)
 {
     return Equals(other.FullPath, FullPath);
 }
Beispiel #30
0
 public bool IsFile(RootedCanonicalPath path)
 {
     throw new NotImplementedException();
 }