pub fn adopt_legacy_scratch(
scratch: &Path,
job_dir: PathBuf,
source_path: &Path,
output: &Path,
mode: IngestMode,
segment_mib: Option<u64>,
) -> Result<IngestJob>Expand description
Copy a live/legacy scratch tree into a new job directory so it can be inspected and, if the source file is still there and uncompressed, continued.