diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2018-11-22 08:03:09 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2018-11-22 08:03:09 +0300 |
commit | de9750caba4fc35c6fdbc8636d924de1be302a40 (patch) | |
tree | 0297e33dc11186d86b4f33a6def30dff462518f1 /Duplicati | |
parent | 609c32feb2c93b316a1850bf502eb839f454f329 (diff) |
Use 'this' keyword to improve readability.
Diffstat (limited to 'Duplicati')
-rw-r--r-- | Duplicati/Library/Backend/SSHv2/SSHv2Backend.cs | 6 |
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); } }
}
|