Skip to content

Commit

Permalink
misc: investigate why its not persisted
Browse files Browse the repository at this point in the history
  • Loading branch information
nichmor committed Feb 12, 2024
1 parent 7bbd73b commit 72f5785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/rattler_installs_packages/src/index/file_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ impl<'a> LockedWriter<'a> {
/// be used to read from the file again.
pub fn commit(self) -> io::Result<LockedReader<'a>> {

Check warning on line 176 in crates/rattler_installs_packages/src/index/file_store.rs

View workflow job for this annotation

GitHub Actions / Format and Lint

Diff in /home/runner/work/rip/rip/crates/rattler_installs_packages/src/index/file_store.rs
self.f.as_file().sync_data().expect("CANT SYNC DATA");
println!("I WANT TO CREATE FILE HERE {:?}", self.path);

let mut file = fs::File::from_parts(
self.f.persist(self.path).expect("CANT PERSIS DATA"),
self.path,
Expand Down

0 comments on commit 72f5785

Please sign in to comment.