Closed noel-friedrich closed 7 months ago
path now updated when renaming current folder. problem not fully solved as one may rename a higher order file, thus creating the same problem. fixable by looping through all path files and seeking matching file-ids?
possible solve: ostrich algorithm https://en.wikipedia.org/wiki/Ostrich_algorithm
solved finally by reworking the filepath saving: the terminal filesystem now only keeps track of parent node instead of a path.
Commands entered:
Reason:
Fix:
terminal.fileSystem.currPath
when renamingterminal.currFolder
file.path
toterminal.fileSystem.currPath
wherefile
is the renamed file if it's the changed one?