Lines Matching refs:new_dir
1684 },rename:function (old_node, new_dir, new_name) {
1689 new_node = FS.lookupNode(new_dir, new_name);
1701 new_dir.contents[new_name] = old_node;
1702 old_node.parent = new_dir;
2804 var lookup, old_dir, new_dir;
2809 new_dir = lookup.node;
2814 if (old_dir.mount !== new_dir.mount) {
2832 new_node = FS.lookupNode(new_dir, new_name);
2849 FS.mayDelete(new_dir, new_name, isdir) :
2850 FS.mayCreate(new_dir, new_name);
2861 if (new_dir !== old_dir) {
2871 old_dir.node_ops.rename(old_node, new_dir, new_name);