For extensions of base system like podman and btrfs: Started improving server abstractions to make it more extendable in order to support multiple implementations
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace MoonlightServers.Daemon.ServerSys.Abstractions;
|
||||
|
||||
public interface IFileSystem : IServerComponent
|
||||
{
|
||||
public bool IsMounted { get; }
|
||||
public bool Exists { get; }
|
||||
|
||||
public Task Create();
|
||||
public Task Mount();
|
||||
public Task Unmount();
|
||||
public Task Delete();
|
||||
|
||||
public string GetExternalPath();
|
||||
}
|
||||
Reference in New Issue
Block a user