C# Class KFS.FileSystems.FileSystem

The abstract FileSystem class. Call FileSystem.TryLoad() to load a filesystem from an IFileSystemStore.
Inheritance: IFileSystem
Show file Open project: Alex-Jaeger/BitcoinFindAndRecover Class Usage Examples

Public Methods

Method Description
GetDefaultSearchStrategy ( ) : ISearchStrategy
GetFile ( string path ) : IEnumerable
GetFirstFile ( string path ) : FileSystemNode
GetRoot ( ) : FileSystemNode
GetSearchStrategies ( ) : List
GetSectorStatus ( ulong sectorNum ) : SectorStatus
HasFileSystem ( IFileSystemStore store ) : bool
TryLoad ( IFileSystemStore store ) : IFileSystem

Private Methods

Method Description
GetChanceOfRecovery ( FileSystemNode node ) : FileRecoveryStatus

Method Details

GetDefaultSearchStrategy() public method

public GetDefaultSearchStrategy ( ) : ISearchStrategy
return ISearchStrategy

GetFile() public method

public GetFile ( string path ) : IEnumerable
path string
return IEnumerable

GetFirstFile() public method

public GetFirstFile ( string path ) : FileSystemNode
path string
return FileSystemNode

GetRoot() public abstract method

public abstract GetRoot ( ) : FileSystemNode
return FileSystemNode

GetSearchStrategies() public abstract method

public abstract GetSearchStrategies ( ) : List
return List

GetSectorStatus() public method

public GetSectorStatus ( ulong sectorNum ) : SectorStatus
sectorNum ulong
return SectorStatus

HasFileSystem() public static method

public static HasFileSystem ( IFileSystemStore store ) : bool
store IFileSystemStore
return bool

TryLoad() public static method

public static TryLoad ( IFileSystemStore store ) : IFileSystem
store IFileSystemStore
return IFileSystem