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

Method available

src/pglite/postgres_mod.rs:2799–2809  ·  view source on GitHub ↗
(&self, store: &mut Store)

Source from the content-addressed store, hash-verified

2797 }
2798
2799 fn available(&self, store: &mut Store) -> Result<i32> {
2800 let available = self
2801 .input_available
2802 .call(store)
2803 .context("pgl_wasix_input_available")?;
2804 ensure!(
2805 available >= 0,
2806 "pgl_wasix_input_available returned negative length {available}"
2807 );
2808 Ok(available)
2809 }
2810
2811 fn take_output(
2812 &self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected