aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Engine/ShiftFS/ShiftDrive.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Engine/ShiftFS/ShiftDrive.cs')
-rw-r--r--ShiftOS.Engine/ShiftFS/ShiftDrive.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/ShiftOS.Engine/ShiftFS/ShiftDrive.cs b/ShiftOS.Engine/ShiftFS/ShiftDrive.cs
deleted file mode 100644
index cde9e8d..0000000
--- a/ShiftOS.Engine/ShiftFS/ShiftDrive.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System.IO;
-using ShiftOS.Engine.Misc;
-
-namespace ShiftOS.Engine.ShiftFS
-{
- public class ShiftDrive
- {
- internal ShiftDrive(DirectoryInfo dir)
- {
- Label = dir.Name;
- var file = new IniFile(Path.Combine(dir.FullName, "driveinfo.ini"));
- Letter = char.TryParse(file.ReadValue("", "DriveLetter"), out var letter) ? letter : '?';
- Contents = new ShiftDirectory(dir.FullName);
- }
-
- public string Label { get; }
- public char Letter { get; }
- public ShiftDirectory Contents { get; }
- }
-} \ No newline at end of file