mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-26 21:42:11 +00:00
This commit is contained in:
parent
ae59e33d51
commit
3d476911b2
1 changed files with 2 additions and 2 deletions
|
|
@ -9,13 +9,13 @@ namespace Cosmos.System.Filesystem {
|
||||||
// NOT do this in the future, but it will be able to map paths to things that look like
|
// NOT do this in the future, but it will be able to map paths to things that look like
|
||||||
// drive letters for compatibility with Windows code.
|
// drive letters for compatibility with Windows code.
|
||||||
// For now we use Dictionary for simplicity, but in future this will change.
|
// For now we use Dictionary for simplicity, but in future this will change.
|
||||||
//static protected Dictionary<string, FileSystem> mMappings = new Dictionary<string, FileSystem>();
|
static protected Dictionary<string, FileSystem> mMappings = new Dictionary<string, FileSystem>();
|
||||||
|
|
||||||
static protected FileSystem mFS;
|
static protected FileSystem mFS;
|
||||||
|
|
||||||
static public void AddMapping(string aPath, FileSystem aFileSystem) {
|
static public void AddMapping(string aPath, FileSystem aFileSystem) {
|
||||||
// Dictionary<> doesnt work yet, so for now we just hack this and support only one FS
|
// Dictionary<> doesnt work yet, so for now we just hack this and support only one FS
|
||||||
//mMappings.Add(aPath.ToUpper(), aFileSystem);
|
mMappings.Add(aPath.ToUpper(), aFileSystem);
|
||||||
mFS = aFileSystem;
|
mFS = aFileSystem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue