MCPcopy Create free account
hub / github.com/Starry-OS/StarryOS / closed

Method closed

api/src/file/pipe.rs:77–79  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

75 }
76
77 pub fn closed(&self) -> bool {
78 Arc::strong_count(&self.shared) == 1
79 }
80
81 pub fn capacity(&self) -> usize {
82 self.shared.buffer.lock().capacity().get()

Callers 3

readMethod · 0.80
writeMethod · 0.80
pollMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected