Home | History | Annotate | Download | only in embenchen

Lines Matching defs:old_node

2041         },rename:function (old_node, new_dir, new_name) {
2043 if (FS.isDir(old_node.mode)) {
2056 delete old_node.parent.contents[old_node.name];
2057 old_node.name = new_name;
2058 new_dir.contents[new_name] = old_node;
2059 old_node.parent = new_dir;
3175 var old_node = FS.lookupNode(old_dir, old_name);
3194 if (old_node === new_node) {
3198 var isdir = FS.isDir(old_node.mode);
3214 if (FS.isMountpoint(old_node) || (new_node && FS.isMountpoint(new_node))) {
3225 FS.hashRemoveNode(old_node);
3228 old_dir.node_ops.rename(old_node, new_dir, new_name);
3234 FS.hashAddNode(old_node);