using System; namespace Renci.SshNet { /// /// Performs no transformation. /// internal sealed class RemotePathNoneTransformation : IRemotePathTransformation { /// /// Returns the specified path without applying a transformation. /// /// The path to transform. /// /// The specified path as is. /// /// is null. /// /// This transformation is recommended for servers that do not require any quoting to preserve the /// literal value of metacharacters, or when paths are guaranteed to never contain any such characters. /// public string Transform(string path) { if (path is null) { throw new ArgumentNullException(nameof(path)); } return path; } } }