INNER CODE UNIT · C
ignore_dir
spheredev/neosphere · src/cell/build.c:752
ignore_dir = fs_is_game_dir(fs, path_cstr(*path_ptr))
&& path_num_hops(path) > 0
&& !path_hop_is(path, 0, "@");
if (!path_is_file(*path_ptr) && !ignore_dir && recursive) {
name = path_new_dir(path_hop(*path_ptr, path_num_hops(*path_ptr) - 1));
file_path = path_dup(*path_ptr);
if (subdir_path != NULL)
path_rebase(name, subdir_path);
make_file_targets(fs, wildcard, file_path, name, targets, true, timestamp);
path_free(file_path);
path_free(name);
}
else if (path_is_file(*path_ptr) && wildcmp(path_filename(*path_ptr), wildcard)) {
name = path_new(path_filename(*path_ptr));
file_path = path_dup(*path_ptr);
if (subdir_path != NULL)
path_rebase(name, subdir_path);
target = target_new(name, fs, file_path, NULL, timestamp, false);