pub fn preprocess_pack(
entries: Vec<PackEntry>,
registry: &PreprocessorRegistry,
pack: &Pack,
fs: &dyn Fs,
datastore: &dyn DataStore,
) -> Result<PreprocessResult>Expand description
Run the preprocessing pipeline for a pack’s file entries.
- Partition entries into preprocessor files vs regular files.
- For each preprocessor file: expand, write results to datastore.
- Create virtual PackEntries pointing to the datastore files.
- Check for collisions between virtual and regular entries.
- Return the result for merging into the handler pipeline.