mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-24 00:20:37 +00:00
read_at need not be public
This commit is contained in:
@@ -427,7 +427,7 @@ impl VirtualFile {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn read_at(&self, buf: &mut [u8], offset: u64) -> Result<usize, Error> {
|
||||
fn read_at(&self, buf: &mut [u8], offset: u64) -> Result<usize, Error> {
|
||||
let result = self.with_file("read", |file| file.read_at(buf, offset))?;
|
||||
if let Ok(size) = result {
|
||||
STORAGE_IO_SIZE
|
||||
|
||||
Reference in New Issue
Block a user