FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Core.Models.IFileSystem Interface Reference

Represents a generic file system and provides its functionality. More...

Inheritance diagram for FileSurfer.Core.Models.IFileSystem:
Collaboration diagram for FileSurfer.Core.Models.IFileSystem:

Public Member Functions

bool IsReady ()
 Determines whether the file system is ready for use.
bool IsLocal ()
 Determines whether this file system is local.
bool IsSame (IFileSystem? fileSystem)
 Determines whether the specified file system is the same instance as this one.
string GetLabel ()
 Gets a label that identifies this file system.

Properties

IFileInfoProvider FileInfoProvider [get]
 Gets the provider used to retrieve file information.
IIconProvider IconProvider [get]
 Gets the provider used to resolve file, drive, and directory icons.
IArchiveManager ArchiveManager [get]
 Gets the service used to manage archive operations.
IFileIoHandler FileIoHandler [get]
 Gets the service used for file I/O operations.
IBinInteraction BinInteraction [get]
 Gets the service used to interact with the recycle bin or trash.
IFileProperties FileProperties [get]
 Gets the service used to read file and directory properties.
IShellHandler ShellHandler [get]
 Gets the shell integration handler for this file system.
IGitIntegration GitIntegration [get]
 Gets the version control integration for this file system.

Detailed Description

Represents a generic file system and provides its functionality.

Member Function Documentation

◆ GetLabel()

string FileSurfer.Core.Models.IFileSystem.GetLabel ( )

Gets a label that identifies this file system.

Returns
The file system label.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

Here is the caller graph for this function:

◆ IsLocal()

bool FileSurfer.Core.Models.IFileSystem.IsLocal ( )

Determines whether this file system is local.

Returns
true when this file system is local; otherwise, false.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

Here is the caller graph for this function:

◆ IsReady()

bool FileSurfer.Core.Models.IFileSystem.IsReady ( )

Determines whether the file system is ready for use.

Returns
true when the file system is ready; otherwise, false.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ IsSame()

bool FileSurfer.Core.Models.IFileSystem.IsSame ( IFileSystem? fileSystem)
inline

Determines whether the specified file system is the same instance as this one.

Parameters
fileSystemThe file system instance to compare with this instance.
Returns
true when both references point to the same instance; otherwise, false.

Property Documentation

◆ ArchiveManager

IArchiveManager FileSurfer.Core.Models.IFileSystem.ArchiveManager
get

Gets the service used to manage archive operations.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ BinInteraction

IBinInteraction FileSurfer.Core.Models.IFileSystem.BinInteraction
get

Gets the service used to interact with the recycle bin or trash.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ FileInfoProvider

IFileInfoProvider FileSurfer.Core.Models.IFileSystem.FileInfoProvider
get

Gets the provider used to retrieve file information.

Implemented in FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ FileIoHandler

IFileIoHandler FileSurfer.Core.Models.IFileSystem.FileIoHandler
get

Gets the service used for file I/O operations.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ FileProperties

IFileProperties FileSurfer.Core.Models.IFileSystem.FileProperties
get

Gets the service used to read file and directory properties.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ GitIntegration

IGitIntegration FileSurfer.Core.Models.IFileSystem.GitIntegration
get

Gets the version control integration for this file system.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ IconProvider

IIconProvider FileSurfer.Core.Models.IFileSystem.IconProvider
get

Gets the provider used to resolve file, drive, and directory icons.

Implemented in FileSurfer.Core.Models.LocalFileSystem, and FileSurfer.Core.Models.Sftp.SftpFileSystem.

◆ ShellHandler

IShellHandler FileSurfer.Core.Models.IFileSystem.ShellHandler
get

Gets the shell integration handler for this file system.

Implemented in FileSurfer.Core.Models.Sftp.SftpFileSystem.


The documentation for this interface was generated from the following file:
  • /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Core/Models/IFileSystem.cs