2025-09-06 12:57:15 -05:00
|
|
|
|
namespace LANCommander.UI.Components
|
2023-12-18 20:33:35 -06:00
|
|
|
|
{
|
|
|
|
|
|
public interface IFileManagerSource
|
|
|
|
|
|
{
|
2024-01-14 17:56:56 -06:00
|
|
|
|
string DirectorySeparatorCharacter { get; set; }
|
2023-12-18 20:33:35 -06:00
|
|
|
|
FileManagerDirectory GetCurrentPath();
|
|
|
|
|
|
void SetCurrentPath(FileManagerDirectory path);
|
|
|
|
|
|
IEnumerable<FileManagerDirectory> GetDirectoryTree();
|
|
|
|
|
|
FileManagerDirectory ExpandNode(FileManagerDirectory node);
|
|
|
|
|
|
IEnumerable<IFileManagerEntry> GetEntries();
|
|
|
|
|
|
string GetEntryName(IFileManagerEntry entry);
|
|
|
|
|
|
FileManagerDirectory GetDirectory(string path);
|
|
|
|
|
|
FileManagerFile GetFile(string path);
|
|
|
|
|
|
FileManagerDirectory CreateDirectory(string name);
|
|
|
|
|
|
void DeleteEntry(IFileManagerEntry entry);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|