From 93a6ea503defa536d7cfd4ae8b85b1bd57bfddee Mon Sep 17 00:00:00 2001 From: drieseng Date: Thu, 24 Mar 2016 10:35:42 +0100 Subject: [PATCH] Removed duplicate sources introduced by migration from Codeplex. --- .../Sftp/Requests/PosixRenameRequest.cs | 34 ------------------- .../Sftp/Requests/StatVfsRequest.cs | 31 ----------------- 2 files changed, 65 deletions(-) delete mode 100644 src/Renci.SshNet/Sftp/Requests/PosixRenameRequest.cs delete mode 100644 src/Renci.SshNet/Sftp/Requests/StatVfsRequest.cs diff --git a/src/Renci.SshNet/Sftp/Requests/PosixRenameRequest.cs b/src/Renci.SshNet/Sftp/Requests/PosixRenameRequest.cs deleted file mode 100644 index b272aa17..00000000 --- a/src/Renci.SshNet/Sftp/Requests/PosixRenameRequest.cs +++ /dev/null @@ -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 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); - } - } -} \ No newline at end of file diff --git a/src/Renci.SshNet/Sftp/Requests/StatVfsRequest.cs b/src/Renci.SshNet/Sftp/Requests/StatVfsRequest.cs deleted file mode 100644 index 1e65283e..00000000 --- a/src/Renci.SshNet/Sftp/Requests/StatVfsRequest.cs +++ /dev/null @@ -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 extendedAction, Action 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); - } - } -}