|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|
Provides extension methods for transferring directory and file streams. More...
Static Public Member Functions | |
| static async Task< IResult > | WriteToStreamAsync (this FileTransferStream fileStream, Stream writeStream, ProgressReporter reporter, CancellationToken ct) |
| Writes a file transfer stream to the target stream. | |
| static async Task< IResult > | WriteWithIoHandlerAsync (this DirTransferStream dirStream, IFileIoHandler ioHandler, IPathTools pathTools, string dirPath, ProgressReporter reporter, CancellationToken ct) |
| Writes a directory transfer stream using file I/O operations. | |
Provides extension methods for transferring directory and file streams.
|
inlinestatic |
Writes a file transfer stream to the target stream.
| fileStream | The source file stream wrapper. |
| writeStream | The destination stream. |
| reporter | The progress reporter used for transfer updates. |
| ct | The cancellation token. |

|
inlinestatic |
Writes a directory transfer stream using file I/O operations.
| dirStream | The source directory transfer stream. |
| ioHandler | The file I/O handler used for writes. |
| pathTools | The path tools used to combine target paths. |
| dirPath | The destination parent directory path. |
| reporter | The progress reporter used for transfer updates. |
| ct | The cancellation token. |
