mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 12:16:49 +02:00
skip root directory
This commit is contained in:
parent
2d4cf32be5
commit
c3c3a714e7
|
@ -223,7 +223,9 @@ final class ItemDatabase
|
|||
else path = r.front[0].dup;
|
||||
id = r.front[1].dup;
|
||||
}
|
||||
return path[5 .. $]; // HACK: skip "root/"
|
||||
// HACK: skip "root/"
|
||||
if (path.length < 5) return null;
|
||||
return path[5 .. $];
|
||||
}
|
||||
|
||||
/*private string computePath(const(char)[] name, const(char)[] parentId)
|
||||
|
|
Loading…
Reference in a new issue