mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
16 lines
509 B
C#
16 lines
509 B
C#
|
using System.IO;
|
|||
|
|
|||
|
namespace libhac
|
|||
|
{
|
|||
|
public interface IFileSystem
|
|||
|
{
|
|||
|
bool FileExists(string path);
|
|||
|
bool DirectoryExists(string path);
|
|||
|
Stream OpenFile(string path, FileMode mode);
|
|||
|
Stream OpenFile(string path, FileMode mode, FileAccess access);
|
|||
|
string[] GetFileSystemEntries(string path, string searchPattern);
|
|||
|
string[] GetFileSystemEntries(string path, string searchPattern, SearchOption searchOption);
|
|||
|
string GetFullPath(string path);
|
|||
|
}
|
|||
|
}
|