Lines Matching refs:new_dir
1792 },rename:function (old_node, new_dir, new_name) { argument
1797 new_node = FS.lookupNode(new_dir, new_name);
1809 new_dir.contents[new_name] = old_node;
1810 old_node.parent = new_dir;
2912 var lookup, old_dir, new_dir;
2917 new_dir = lookup.node;
2922 if (old_dir.mount !== new_dir.mount) {
2940 new_node = FS.lookupNode(new_dir, new_name);
2957 FS.mayDelete(new_dir, new_name, isdir) :
2958 FS.mayCreate(new_dir, new_name);
2969 if (new_dir !== old_dir) {
2979 old_dir.node_ops.rename(old_node, new_dir, new_name);