Home | History | Annotate | Download | only in embenchen

Lines Matching refs:new_dir

1698         },rename:function (old_node, new_dir, new_name) {
1703 new_node = FS.lookupNode(new_dir, new_name);
1715 new_dir.contents[new_name] = old_node;
1716 old_node.parent = new_dir;
2818 var lookup, old_dir, new_dir;
2823 new_dir = lookup.node;
2828 if (old_dir.mount !== new_dir.mount) {
2846 new_node = FS.lookupNode(new_dir, new_name);
2863 FS.mayDelete(new_dir, new_name, isdir) :
2864 FS.mayCreate(new_dir, new_name);
2875 if (new_dir !== old_dir) {
2885 old_dir.node_ops.rename(old_node, new_dir, new_name);