-
-
Notifications
You must be signed in to change notification settings - Fork 938
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename SftpFileSytemInformation to SftpFileSystemInformation (#1425)
- Loading branch information
Showing
8 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -665,26 +665,26 @@ public interface ISftpClient : IBaseClient | |
/// </summary> | ||
/// <param name="path">The path.</param> | ||
/// <returns> | ||
/// A <see cref="SftpFileSytemInformation"/> instance that contains file status information. | ||
/// A <see cref="SftpFileSystemInformation"/> instance that contains file status information. | ||
/// </returns> | ||
/// <exception cref="SshConnectionException">Client is not connected.</exception> | ||
/// <exception cref="ArgumentNullException"><paramref name="path" /> is <see langword="null"/>.</exception> | ||
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception> | ||
SftpFileSytemInformation GetStatus(string path); | ||
SftpFileSystemInformation GetStatus(string path); | ||
|
||
/// <summary> | ||
/// Asynchronously gets status using [email protected] request. | ||
/// </summary> | ||
/// <param name="path">The path.</param> | ||
/// <param name="cancellationToken">The <see cref="CancellationToken"/> to observe.</param> | ||
/// <returns> | ||
/// A <see cref="Task{SftpFileSytemInformation}"/> that represents the status operation. | ||
/// The task result contains the <see cref="SftpFileSytemInformation"/> instance that contains file status information. | ||
/// A <see cref="Task{SftpFileSystemInformation}"/> that represents the status operation. | ||
/// The task result contains the <see cref="SftpFileSystemInformation"/> instance that contains file status information. | ||
/// </returns> | ||
/// <exception cref="SshConnectionException">Client is not connected.</exception> | ||
/// <exception cref="ArgumentNullException"><paramref name="path" /> is <see langword="null"/>.</exception> | ||
/// <exception cref="ObjectDisposedException">The method was called after the client was disposed.</exception> | ||
Task<SftpFileSytemInformation> GetStatusAsync(string path, CancellationToken cancellationToken); | ||
Task<SftpFileSystemInformation> GetStatusAsync(string path, CancellationToken cancellationToken); | ||
|
||
/// <summary> | ||
/// Retrieves list of files in remote directory. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -370,7 +370,7 @@ internal interface ISftpSession : ISubsystemSession | |
/// The file system information for the specified path, or <see langword="null"/> when | ||
/// the request failed and <paramref name="nullOnError"/> is <see langword="true"/>. | ||
/// </returns> | ||
SftpFileSytemInformation RequestStatVfs(string path, bool nullOnError = false); | ||
SftpFileSystemInformation RequestStatVfs(string path, bool nullOnError = false); | ||
|
||
/// <summary> | ||
/// Asynchronously performs a <c>[email protected]</c> extended request. | ||
|
@@ -382,7 +382,7 @@ internal interface ISftpSession : ISubsystemSession | |
/// <see cref="Task{Task}.Result"/> contains the file system information for the specified | ||
/// path. | ||
/// </returns> | ||
Task<SftpFileSytemInformation> RequestStatVfsAsync(string path, CancellationToken cancellationToken); | ||
Task<SftpFileSystemInformation> RequestStatVfsAsync(string path, CancellationToken cancellationToken); | ||
|
||
/// <summary> | ||
/// Performs SSH_FXP_SYMLINK request. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ namespace Renci.SshNet.Sftp | |
/// Contains File system information exposed by [email protected] request. | ||
/// </summary> | ||
#pragma warning disable SA1649 // File name should match first type name | ||
public class SftpFileSytemInformation | ||
public class SftpFileSystemInformation | ||
#pragma warning restore SA1649 // File name should match first type name | ||
{ | ||
#pragma warning disable SA1310 // Field names should not contain underscore | ||
|
@@ -119,7 +119,7 @@ public bool SupportsSetUid | |
public ulong MaxNameLenght { get; private set; } | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="SftpFileSytemInformation" /> class. | ||
/// Initializes a new instance of the <see cref="SftpFileSystemInformation" /> class. | ||
/// </summary> | ||
/// <param name="bsize">The bsize.</param> | ||
/// <param name="frsize">The frsize.</param> | ||
|
@@ -132,7 +132,7 @@ public bool SupportsSetUid | |
/// <param name="sid">The sid.</param> | ||
/// <param name="flag">The flag.</param> | ||
/// <param name="namemax">The namemax.</param> | ||
internal SftpFileSytemInformation(ulong bsize, ulong frsize, ulong blocks, ulong bfree, ulong bavail, ulong files, ulong ffree, ulong favail, ulong sid, ulong flag, ulong namemax) | ||
internal SftpFileSystemInformation(ulong bsize, ulong frsize, ulong blocks, ulong bfree, ulong bavail, ulong files, ulong ffree, ulong favail, ulong sid, ulong flag, ulong namemax) | ||
{ | ||
FileSystemBlockSize = bsize; | ||
BlockSize = frsize; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters