mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 05:58:22 +01:00
enhance vfs path handling
This commit is contained in:
parent
fd4474d598
commit
2316994b94
Binary file not shown.
@ -355,7 +355,8 @@ namespace OS {
|
||||
if (re === "") {
|
||||
return;
|
||||
}
|
||||
this.genealogy = re.split("/");
|
||||
this.genealogy = re.split("/").filter(s=> s!="");
|
||||
this.path = this.genealogy.join("/");
|
||||
if (!this.isRoot()) {
|
||||
this.basename = this.genealogy[
|
||||
this.genealogy.length - 1
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user