aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Storage
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-02-03 12:02:06 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-02-03 12:02:06 +0200
commit2673941e1a4bcbf3dd74b3135d7587f117d96464 (patch)
tree8410af3b66ba0e744b96c6d21214245288731e6a /Software/Visual_Studio/Tango.Integration/Storage
parentdc6af17011711e5e764af780c238a80a4e19644c (diff)
downloadTango-2673941e1a4bcbf3dd74b3135d7587f117d96464.tar.gz
Tango-2673941e1a4bcbf3dd74b3135d7587f117d96464.zip
Fixed issue with machine storage embedded paths parsing..
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Storage')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs b/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
index 3881dd528..eb7e56adb 100644
--- a/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
+++ b/Software/Visual_Studio/Tango.Integration/Storage/StorageItem.cs
@@ -26,6 +26,8 @@ namespace Tango.Integration.Storage
{
get
{
+ if (Path == "/") return null;
+
String root = System.IO.Path.GetPathRoot(Path);
var parent = Directory.GetParent(Path);