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

Method sync_to_fs

src/pglite/client.rs:910–912  ·  view source on GitHub ↗

Flush runtime writes to the underlying filesystem. The WASIX backend uses host-mounted files and PostgreSQL's own fsync/WAL behavior for durability. Adding an unconditional host directory `sync_all` after every direct query is both expensive and weaker than the database's file-level fsyncs, so the Rust-level hook remains a no-op.

(&mut self)

Source from the content-addressed store, hash-verified

908 /// `sync_all` after every direct query is both expensive and weaker than the
909 /// database's file-level fsyncs, so the Rust-level hook remains a no-op.
910 pub fn sync_to_fs(&mut self) -> Result<()> {
911 Ok(())
912 }
913
914 fn prepare_bind_values(
915 &self,

Callers 5

close_backendMethod · 0.80
finish_queryMethod · 0.80
finish_execMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected