mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
- File.Delete and Directory.Delete implementations - Fully Working - Change Guess demo references to Project References - Done
36 lines
1.1 KiB
C#
36 lines
1.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 bool DeleteFile(DirectoryEntry aPath);
|
|
|
|
public abstract bool DeleteDirectory(DirectoryEntry 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 ':'; } }
|
|
}
|
|
}
|