Skip to content
Snippets Groups Projects
Commit e4a95506 authored by Brian Lewis's avatar Brian Lewis
Browse files

Add doc comment for ingest_structure

parent ffd51250
No related branches found
Tags 0.5.0
2 merge requests!2Ingest different DRS formats,!1Ingest
Pipeline #16353 passed
......@@ -100,6 +100,12 @@ pub async fn ingest<P: AsRef<Path>>(
})
}
/// Ingests a single structure from the DRS config.
///
/// This handles crawling the structure's `root_dir` and ingesting any files it finds there are valid for the structure.
/// This inserts the files it finds into both files and latest collection within solr.
///
/// Invalid files, whatever the reason they're invalid, will be skipped.
async fn ingest_structure(
solr: Solr,
structure: Structure,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment