aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
diff options
context:
space:
mode:
authorMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
committerMirta <mirta@twine-s.com>2020-12-30 16:39:52 +0200
commit00a491d93733d4625ad329b2ba8237f445364b3f (patch)
tree4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
parent124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff)
downloadTango-00a491d9.tar.gz
Tango-00a491d9.zip
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs b/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
index 6894f7111..eb7e56adb 100644
--- a/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
+++ b/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
@@ -22,12 +22,11 @@ namespace Tango.Integration.Storage
{
get { return System.IO.Path.GetFileName(Path); }
}
-
public String Parent
{
get
{
- if (Path == "/" || Path == null) return null;
+ if (Path == "/") return null;
String root = System.IO.Path.GetPathRoot(Path);
var parent = Directory.GetParent(Path);