diff options
| author | John T <[email protected]> | 2017-11-11 08:53:55 -0500 |
|---|---|---|
| committer | John T <[email protected]> | 2017-11-11 08:53:55 -0500 |
| commit | 97722fbe9d474adffbba0b92e9727c48a8205234 (patch) | |
| tree | 65dfe45bbfd194ddb534cc80107ab8e6d80cf5bc /ShiftOS.Engine/ShiftFS/ShiftDrive.cs | |
| parent | a10440a45c40652b13e883aec832a0c8ded685e8 (diff) | |
| download | shiftos-rewind-97722fbe9d474adffbba0b92e9727c48a8205234.tar.gz shiftos-rewind-97722fbe9d474adffbba0b92e9727c48a8205234.tar.bz2 shiftos-rewind-97722fbe9d474adffbba0b92e9727c48a8205234.zip | |
Only 1/4 broken ShiftFS and WIP File Skimmer
Diffstat (limited to 'ShiftOS.Engine/ShiftFS/ShiftDrive.cs')
| -rw-r--r-- | ShiftOS.Engine/ShiftFS/ShiftDrive.cs | 20 |
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 |
