Created
October 16, 2019 11:09
-
-
Save mafintosh/33b7bd35d18bfb0a0f6fd4412f112943 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await trie.symlink('bb/b','c') | |
await trie.symlink('../dd','b') | |
await trie.put('dd/c/bc/b','dsiypoxbuo') // dd/c/bc/b --> dsiypoxbuo | |
await trie.put('b/d/c/c','ljbdomybyu') // dd/d/c/c --> ljbdomybyu | |
await trie.rename('dd','c/db') // dd/c/bc/b --> dd/b/db/c/bc/b, dd/d/c/c --> dd/b/db/d/c/c | |
await trie.put('c/db/c/b/bc','nlcmgluggs') | |
// reference says bb/b/db/c/bc/b -> dsiypoxbuo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After
rename('dd', 'c/db')
, shouldn'tdd/c/bc/b
->bb/b/db/c/bc/b
,d/d/d/cc
->bb/b/db/d/c/c
?