public Result Move(string oldpath, string newpath, bool replace)
 {
     if (FileSystem.Directory.Exists(oldpath))
     {
         return(PassthroughDirectory.Move(FileSystem, oldpath, newpath));
     }
     else if (FileSystem.File.Exists(newpath))
     {
         return(PassthroughFile.Move(FileSystem, oldpath, newpath, replace));
     }
     else
     {
         return(new Result(ResultStatus.PathNotFound));
     }
 }
 public Result Create(string fileName, bool isfile, System.IO.FileAccess access, System.IO.FileShare share, System.IO.FileMode mode, System.IO.FileOptions options, System.IO.FileAttributes attributes, out IFSEntryPointer node)
 {
     return(PassthroughFile.CreateFile(FileSystem, PathNormalizer.ConcatPath(SourcePath, fileName), access, share, mode, options, attributes, !isfile, out node));
 }