Lines Matching refs:new_dir
1823 },rename:function (old_node, new_dir, new_name) { argument
1828 new_node = FS.lookupNode(new_dir, new_name);
1840 new_dir.contents[new_name] = old_node;
1841 old_node.parent = new_dir;
2943 var lookup, old_dir, new_dir;
2948 new_dir = lookup.node;
2953 if (old_dir.mount !== new_dir.mount) {
2971 new_node = FS.lookupNode(new_dir, new_name);
2988 FS.mayDelete(new_dir, new_name, isdir) :
2989 FS.mayCreate(new_dir, new_name);
3000 if (new_dir !== old_dir) {
3010 old_dir.node_ops.rename(old_node, new_dir, new_name);