MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / contents

Method contents

cloud-hypervisor/src/logger.rs:178–180  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

176
177 impl SharedBuffer {
178 fn contents(&self) -> String {
179 String::from_utf8(self.0.lock().unwrap().clone()).unwrap()
180 }
181 }
182
183 impl Write for SharedBuffer {

Callers 6

logger_pid_tokenFunction · 0.80
logger_tid_tokenFunction · 0.80

Calls 1

cloneMethod · 0.45

Tested by 6

logger_pid_tokenFunction · 0.64
logger_tid_tokenFunction · 0.64