MCPcopy Create free account
hub / github.com/erans/pgsqlite / is_empty

Method is_empty

src/protocol/memory_mapped.rs:148–150  ·  view source on GitHub ↗

Check if the value is empty

(&self)

Source from the content-addressed store, hash-verified

146
147 /// Check if the value is empty
148 pub fn is_empty(&self) -> bool {
149 self.len() == 0
150 }
151
152 /// Write the value to an async writer with zero-copy optimization
153 pub async fn write_to<W: AsyncWrite + Unpin>(&self, writer: &mut W) -> io::Result<()> {

Callers 2

create_from_blobMethod · 0.45
create_from_textMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected