Home | History | Annotate | Download | only in embenchen

Lines Matching defs:old_node

1698         },rename:function (old_node, new_dir, new_name) {
1700 if (FS.isDir(old_node.mode)) {
1713 delete old_node.parent.contents[old_node.name];
1714 old_node.name = new_name;
1715 new_dir.contents[new_name] = old_node;
1716 old_node.parent = new_dir;
2832 var old_node = FS.lookupNode(old_dir, old_name);
2851 if (old_node === new_node) {
2855 var isdir = FS.isDir(old_node.mode);
2871 if (FS.isMountpoint(old_node) || (new_node && FS.isMountpoint(new_node))) {
2882 FS.hashRemoveNode(old_node);
2885 old_dir.node_ops.rename(old_node, new_dir, new_name);
2891 FS.hashAddNode(old_node);