Skip to content

Commit a540002

Browse files
committed
Remove more debug code
1 parent 48ffd48 commit a540002

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/store/fs/bao_file.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -754,18 +754,15 @@ impl BaoFileHandle {
754754
trace!("write_batch bitfield={:?} batch={}", bitfield, batch.len());
755755
let mut res = Ok(None);
756756
self.send_if_modified(|state| {
757-
println!("write_batch {:?}", bitfield);
758757
let Ok((state1, update)) = state.take().write_batch(batch, bitfield, ctx) else {
759758
res = Err(io::Error::other("write batch failed"));
760759
return false;
761760
};
762761
res = Ok(update);
763-
println!("{:?}", state1);
764762
*state = state1;
765763
true
766764
});
767765
if let Some(update) = res? {
768-
println!("update {:?}", update);
769766
ctx.global.db.update(ctx.id, update).await?;
770767
}
771768
Ok(())

src/store/fs/gc.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,6 @@ mod tests {
360360
// check that `get_bytes` returns an error.
361361
let res = store.get_bytes(hash).await;
362362
assert!(res.is_err());
363-
364-
println!("{:?}", res);
365363
assert!(matches!(
366364
res,
367365
Err(ExportBaoError::ExportBaoInner {

0 commit comments

Comments
 (0)