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/ShiftFSObject.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/ShiftFSObject.cs')
| -rw-r--r-- | ShiftOS.Engine/ShiftFS/ShiftFSObject.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ShiftOS.Engine/ShiftFS/ShiftFSObject.cs b/ShiftOS.Engine/ShiftFS/ShiftFSObject.cs deleted file mode 100644 index 69750fa..0000000 --- a/ShiftOS.Engine/ShiftFS/ShiftFSObject.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.IO; - -namespace ShiftOS.Engine.ShiftFS -{ - public abstract class ShiftFsObject - { - protected ShiftFsObject(string path) - { - if (!File.Exists(Path.Combine(ShiftFs.SavePath, path)) && !Directory.Exists(Path.Combine(ShiftFs.SavePath, path))) - { - throw new FileNotFoundException(); - } - } - - public string Name { get; set; } - public ShiftDirectory Parent { get; protected set; } - public string FullName { get; set; } - protected string FullDiskName { get; set; } - - public void Delete() - { - File.Delete(FullDiskName); - } - } -}
\ No newline at end of file |
