pub fn traverse_entrypoint(
entrypoint_id: ModuleIdentifier,
initial_chunk_id: ChunkId,
module_graph: &Inverted<ModuleParentGraph>,
truncated_chunk_graph: &Graph<ChunkGraph>,
import_paths: &Graph<ChunkImportPathGraph>,
) -> Result<GraphTraversal<ModuleParentGraph>, EntrypointTraversalError>