Skip to main content

split_ingest_sync

Function split_ingest_sync 

Source
pub fn split_ingest_sync(
    storage_root: &Path,
    source_path: &Path,
    patient_did_hash: u64,
) -> Result<DicomSeriesRecord, DicomIngestError>
Expand description

Synchronous split-ingest for tests and CLI (runs on caller thread). Original Part-10 bytes are retained under the default 256 MiB source budget. Use medical::dicom_source::split_ingest_sync_with_source for explicit admission and the additive source result; source_for_record resolves legacy API records.