small note in origin store
This commit is contained in:
parent
79ba735fd6
commit
a0bdf610d9
@ -362,6 +362,9 @@ pub mod git {
|
||||
|
||||
let descr_file_path = self.descr_file_path(descr_id.as_ref());
|
||||
|
||||
// TODO it's possible that opening the file will fail if syncing is
|
||||
// still ongoing, as writing the descr file is the last step after
|
||||
// initial sync has succeeded.
|
||||
let descr_file = fs::File::open(descr_file_path)
|
||||
.map_err(|e| store::AllDescrsError::Unexpected(Box::from(e)))?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user