Home | History | Annotate | Download | only in embenchen

Lines Matching defs:old_node

1684         },rename:function (old_node, new_dir, new_name) {
1686 if (FS.isDir(old_node.mode)) {
1699 delete old_node.parent.contents[old_node.name];
1700 old_node.name = new_name;
1701 new_dir.contents[new_name] = old_node;
1702 old_node.parent = new_dir;
2818 var old_node = FS.lookupNode(old_dir, old_name);
2837 if (old_node === new_node) {
2841 var isdir = FS.isDir(old_node.mode);
2857 if (FS.isMountpoint(old_node) || (new_node && FS.isMountpoint(new_node))) {
2868 FS.hashRemoveNode(old_node);
2871 old_dir.node_ops.rename(old_node, new_dir, new_name);
2877 FS.hashAddNode(old_node);