Home | History | Annotate | Download | only in embenchen

Lines Matching refs:new_dir

1701         },rename:function (old_node, new_dir, new_name) {
1706 new_node = FS.lookupNode(new_dir, new_name);
1718 new_dir.contents[new_name] = old_node;
1719 old_node.parent = new_dir;
2821 var lookup, old_dir, new_dir;
2826 new_dir = lookup.node;
2831 if (old_dir.mount !== new_dir.mount) {
2849 new_node = FS.lookupNode(new_dir, new_name);
2866 FS.mayDelete(new_dir, new_name, isdir) :
2867 FS.mayCreate(new_dir, new_name);
2878 if (new_dir !== old_dir) {
2888 old_dir.node_ops.rename(old_node, new_dir, new_name);