Skip to main content

plan_import

Function plan_import 

Source
pub fn plan_import(
    knowledge: &ProjectKnowledge,
    repo: &ResearchContextDocumentV1,
    since: Option<UtcDateTime>,
    limit: usize,
    run: &mut CaptureRun<'_>,
) -> LearnPlan
Expand description

Plan the imported facts (K1) new or changed after since that pass the capture gate (evidence imported, the import source as reference) and the repo does not hold yet, at most limit (oldest first), each with its import source.