Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2018-11-22 08:03:09 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2018-11-22 08:03:09 +0300
commitde9750caba4fc35c6fdbc8636d924de1be302a40 (patch)
tree0297e33dc11186d86b4f33a6def30dff462518f1 /Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
parent609c32feb2c93b316a1850bf502eb839f454f329 (diff)
Use 'this' keyword to improve readability.
Diffstat (limited to 'Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs')
-rw-r--r--Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs b/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
index bc84feb3a..177377033 100644
--- a/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
+++ b/Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs
@@ -122,9 +122,9 @@ namespace Duplicati.Library.Backend
foreach (string part in m_path.Split('/').Where(x => !String.IsNullOrEmpty(x)))
{
partialPath += $"/{part}";
- if (m_con.Exists(partialPath))
+ if (this.m_con.Exists(partialPath))
{
- Renci.SshNet.Sftp.SftpFileAttributes attributes = m_con.GetAttributes(partialPath);
+ Renci.SshNet.Sftp.SftpFileAttributes attributes = this.m_con.GetAttributes(partialPath);
if (!attributes.IsDirectory)
{
throw new ArgumentException($"The path {partialPath} already exists and is not a directory.");
@@ -132,7 +132,7 @@ namespace Duplicati.Library.Backend
}
else
{
- m_con.CreateDirectory(partialPath);
+ this.m_con.CreateDirectory(partialPath);
}
}
}