mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
32 lines
1 KiB
C#
32 lines
1 KiB
C#
using System.Collections.Generic;
|
|
using Cosmos.System.FileSystem.Listing;
|
|
|
|
namespace Cosmos.System.FileSystem.VFS
|
|
{
|
|
public abstract class VFSBase
|
|
{
|
|
public abstract void Initialize();
|
|
|
|
public abstract DirectoryEntry CreateFile(string aPath);
|
|
|
|
public abstract DirectoryEntry CreateDirectory(string aPath);
|
|
|
|
public abstract DirectoryEntry GetDirectory(string aPath);
|
|
|
|
public abstract DirectoryEntry GetFile(string aPath);
|
|
|
|
public abstract List<DirectoryEntry> GetDirectoryListing(string aPath);
|
|
|
|
public abstract List<DirectoryEntry> GetDirectoryListing(DirectoryEntry aEntry);
|
|
|
|
public abstract DirectoryEntry GetVolume(string aVolume);
|
|
|
|
public abstract List<DirectoryEntry> GetVolumes();
|
|
|
|
public static char DirectorySeparatorChar { get { return '\\'; } }
|
|
|
|
public static char AltDirectorySeparatorChar { get { return '/'; } }
|
|
|
|
public static char VolumeSeparatorChar { get { return ':'; } }
|
|
}
|
|
}
|