I am looking for an efficient way to implement a hierarchial file/folder tree in redis and be able to easily move nodes around.
/
a/
a1
a2
b/
b1
b2
c/
c1
x/
x1
y/
y1
I’d like to store the above tree and easily be able to make operations such as
move node /a/b/c to /foo/a/b/c
move node /a/b/c to /x/c
delete node /a/b
Pointers to existing implementation models etc. would be helpful.
The schema I designed which helps one to easily add, move and rename both nodes and entries