(_f: &mut impl FileLike, _opts: &Options)
| 466 | /// No-op otherwise. |
| 467 | #[inline] |
| 468 | pub(crate) fn fallocate(_f: &mut impl FileLike, _opts: &Options) -> io::Result<()> { |
| 469 | #[cfg(feature = "fallocate")] |
| 470 | if _opts.preallocate_segments { |
| 471 | _f.fallocate(_opts.max_segment_size)?; |
| 472 | } |
| 473 | |
| 474 | Ok(()) |
| 475 | } |
no test coverage detected
searching dependent graphs…