INNER CODE UNIT · C

file_path

spheredev/neosphere · src/cell/build.c:757

			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);
			vector_push(targets, &target);
			path_free(file_path);
			path_free(name);
		}
	}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…