diff options
| author | Alkaline Thunder <[email protected]> | 2018-12-28 01:19:17 -0500 |
|---|---|---|
| committer | Alkaline Thunder <[email protected]> | 2018-12-28 01:19:17 -0500 |
| commit | b71f731e2580718d4c527b84f41a67dd75285ae7 (patch) | |
| tree | ea941678aca6eebd4edd33525261e7230dc9ea79 /ShiftOS | |
| parent | 6995abe190fad72892fb621758914ea2e2ebe92d (diff) | |
| download | shiftos-challenge-b71f731e2580718d4c527b84f41a67dd75285ae7.tar.gz shiftos-challenge-b71f731e2580718d4c527b84f41a67dd75285ae7.tar.bz2 shiftos-challenge-b71f731e2580718d4c527b84f41a67dd75285ae7.zip | |
Filesystem can now create directories
Diffstat (limited to 'ShiftOS')
| -rw-r--r-- | ShiftOS/ShiftOS/FilesystemContext.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS/ShiftOS/FilesystemContext.cs b/ShiftOS/ShiftOS/FilesystemContext.cs index 96d3832..1afe87e 100644 --- a/ShiftOS/ShiftOS/FilesystemContext.cs +++ b/ShiftOS/ShiftOS/FilesystemContext.cs @@ -125,6 +125,9 @@ namespace ShiftOS WriteAllText(InPath, string.Join(Environment.NewLine, InLines)); } - + public void CreateDirectory(string InPath) + { + Directory.CreateDirectory(MapToEnvironmentPath(InPath)); + } } } |
