let rec iter_info f = function | Arch_dir_pack(_, i, xs) | Arch_dir(_, i, xs) -> f i; List.iter (iter_info f) xs | Arch_file(_, i) -> f i