/* copy-project-tree.c: * **************************************************************** * Copyright (C) 2003 Tom Lord * * See the file "COPYING" for further information about * the copyright and warranty status of this work. */ #include "hackerlab/vu/safe.h" #include "libfsutils/copy-file.h" #include "libarch/invent.h" #include "libarch/copy-project-tree.h" void arch_copy_project_tree (arch_project_tree_t * from, t_uchar * to, int precious, int nested) { rel_table inventory = 0; inventory = arch_source_inventory (from, 1, precious, nested); safe_mkdir (to, 0777); copy_file_list (to, from->root, inventory); rel_free_table (inventory); } /* tag: Tom Lord Wed Jun 4 16:32:04 2003 (copy-project-tree.c) */