pub fn read( input: impl Read, publish: impl FnMut(Arc<FileIndex>) -> Result<()>, ) -> Result<Arc<ByteStore>>