浏览代码

Removed duplicate sources introduced by migration from Codeplex.

drieseng 9 年之前
父节点
当前提交
93a6ea503d
共有 2 个文件被更改,包括 0 次插入65 次删除
  1. 0 34
      src/Renci.SshNet/Sftp/Requests/PosixRenameRequest.cs
  2. 0 31
      src/Renci.SshNet/Sftp/Requests/StatVfsRequest.cs

+ 0 - 34
src/Renci.SshNet/Sftp/Requests/PosixRenameRequest.cs

@@ -1,34 +0,0 @@
-using System;
-using Renci.SshNet.Sftp.Responses;
-
-namespace Renci.SshNet.Sftp.Requests
-{
-    internal class PosixRenameRequest : SftpRequest
-    {
-        public const string NAME = "posix-rename@openssh.com";
-
-        public override SftpMessageTypes SftpMessageType
-        {
-            get { return SftpMessageTypes.Extended; }
-        }
-
-        public string OldPath { get; private set; }
-
-        public string NewPath { get; private set; }
-
-        public PosixRenameRequest(uint protocolVersion, uint requestId, string oldPath, string newPath, Action<SftpStatusResponse> statusAction)
-            : base(protocolVersion, requestId, statusAction)
-        {
-            this.OldPath = oldPath;
-            this.NewPath = newPath;
-        }
-
-        protected override void SaveData()
-        {
-            base.SaveData();
-            this.Write(PosixRenameRequest.NAME);
-            this.Write(this.OldPath);
-            this.Write(this.NewPath);
-        }
-    }
-}

+ 0 - 31
src/Renci.SshNet/Sftp/Requests/StatVfsRequest.cs

@@ -1,31 +0,0 @@
-using System;
-using Renci.SshNet.Sftp.Responses;
-
-namespace Renci.SshNet.Sftp.Requests
-{
-    internal class StatVfsRequest : SftpRequest
-    {
-        public const string NAME = "statvfs@openssh.com";
-
-        public override SftpMessageTypes SftpMessageType
-        {
-            get { return SftpMessageTypes.Extended; }
-        }
-
-        public string Path { get; private set; }
-
-        public StatVfsRequest(uint protocolVersion, uint requestId, string path, Action<SftpExtendedReplyResponse> extendedAction, Action<SftpStatusResponse> statusAction)
-            : base(protocolVersion, requestId, statusAction)
-        {
-            this.Path = path;
-            this.SetAction(extendedAction);
-        }
-
-        protected override void SaveData()
-        {
-            base.SaveData();
-            this.Write(StatVfsRequest.NAME);
-            this.Write(this.Path);
-        }
-    }
-}