MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / is_buffer_empty

Method is_buffer_empty

src/fs/raw_dir.rs:237–239  ·  view source on GitHub ↗

Returns true if the internal buffer is empty and will be refilled when calling [`next`]. [`next`]: Self::next

(&self)

Source from the content-addressed store, hash-verified

235 ///
236 /// [`next`]: Self::next
237 pub fn is_buffer_empty(&self) -> bool {
238 self.offset >= self.initialized
239 }
240}
241
242/// ```compile_fail

Callers 1

nextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected