MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / write_at

Function write_at

src/pglite/sync_host_fs.rs:363–366  ·  view source on GitHub ↗
(file: &fs::File, buf: &[u8], offset: u64)

Source from the content-addressed store, hash-verified

361
362#[cfg(unix)]
363fn write_at(file: &fs::File, buf: &[u8], offset: u64) -> io::Result<usize> {
364 use std::os::unix::fs::FileExt;
365 file.write_at(buf, offset)
366}
367
368#[cfg(windows)]
369fn write_at(file: &fs::File, buf: &[u8], offset: u64) -> io::Result<usize> {

Callers 2

poll_writeMethod · 0.85
poll_write_vectoredMethod · 0.85

Calls 3

try_cloneMethod · 0.80
seekMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected