mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-10 22:29:09 -07:00
computer: final fix for external disks crashing
This commit is contained in:
@@ -204,7 +204,7 @@ where
|
||||
}
|
||||
#[inline]
|
||||
fn mut_holes(&mut self) -> &mut BTreeSet<usize> {
|
||||
self.inner.mut_holes()
|
||||
panic!("unsupported")
|
||||
}
|
||||
#[inline]
|
||||
fn updated(&self) -> &BTreeMap<usize, T> {
|
||||
@@ -212,7 +212,7 @@ where
|
||||
}
|
||||
#[inline]
|
||||
fn mut_updated(&mut self) -> &mut BTreeMap<usize, T> {
|
||||
self.inner.mut_updated()
|
||||
panic!("unsupported")
|
||||
}
|
||||
|
||||
#[inline]
|
||||
@@ -220,22 +220,6 @@ where
|
||||
self.inner.path()
|
||||
}
|
||||
|
||||
fn delete(&mut self, _: I) {
|
||||
panic!("unsupported")
|
||||
}
|
||||
|
||||
fn unchecked_delete(&mut self, _: I) {
|
||||
panic!("unsupported")
|
||||
}
|
||||
|
||||
fn fill_first_hole_or_push(&mut self, _: T) -> Result<I> {
|
||||
panic!("unsupported")
|
||||
}
|
||||
|
||||
fn update(&mut self, _: I, _: T) -> Result<()> {
|
||||
panic!("unsupported")
|
||||
}
|
||||
|
||||
fn flush(&mut self) -> Result<()> {
|
||||
let file_opt = self.inner.write_header_if_needed()?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user