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