Method CreateHardLinkAsync
CreateHardLinkAsync(string, string, CancellationToken)
Creates the hard link linkPath to the file existingPath (hardlink@openssh.com).
public Task CreateHardLinkAsync(string linkPath, string existingPath, CancellationToken cancellationToken = default)
Parameters
linkPathstringexistingPathstringcancellationTokenCancellationToken
Returns
Exceptions
- NotSupportedException
The server lacks
hardlink@openssh.com.