Well, each file is written then moved into place near-atomically. But, critically, pool/ is written strictly before dists/, and there can be no file conflicts, so any file referenced in Packages or Sources must already be on disk.
Well, each file is written then moved into place near-atomically. But, critically, pool/ is written strictly before dists/, and there can be no file conflicts, so any file referenced in Packages or Sources must already be on disk.