|
FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
|
Interacts with the gio trash cli utility in order to move/restore files and directories to/from the system trash.
More...


Public Member Functions | |
| LinuxBinInteraction (IShellCommandHandler shellHandler) | |
| IResult | RestoreFile (string originalFilePath) |
| Restores a file based on originalFilePath . | |
| IResult | RestoreDir (string originalDirPath) |
| Restores a directory based on originalDirPath . | |
| IResult | MoveFileToTrash (string filePath) |
| Moves a file to the trash. | |
| IResult | MoveDirToTrash (string dirPath) |
| Moves a directory to the trash. | |
| void | Dispose () |
Interacts with the gio trash cli utility in order to move/restore files and directories to/from the system trash.
|
inline |
|
inline |
|
inline |
Moves a directory to the trash.
| dirPath | The full path of the directory to move to trash. |
Implements FileSurfer.Core.Services.Shell.IBinInteraction.
|
inline |
Moves a file to the trash.
| filePath | The full path of the file to move to trash. |
Implements FileSurfer.Core.Services.Shell.IBinInteraction.
|
inline |
Restores a directory based on originalDirPath .
| originalDirPath | The original full path of the directory before it was moved to trash. |
Implements FileSurfer.Core.Services.Shell.IBinInteraction.
|
inline |
Restores a file based on originalFilePath .
| originalFilePath | The original full path of the file before it was moved to trash. |
Implements FileSurfer.Core.Services.Shell.IBinInteraction.