From b71f731e2580718d4c527b84f41a67dd75285ae7 Mon Sep 17 00:00:00 2001 From: Alkaline Thunder Date: Fri, 28 Dec 2018 01:19:17 -0500 Subject: [PATCH] Filesystem can now create directories --- ShiftOS/ShiftOS/FilesystemContext.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)); + } } }