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

Method new

src/pglite/postgres_mod.rs:75–84  ·  view source on GitHub ↗
(limit: usize)

Source from the content-addressed store, hash-verified

73
74impl TailCaptureFile {
75 fn new(limit: usize) -> (Self, TailCaptureHandle) {
76 let inner = Arc::new(Mutex::new(TailCaptureState::default()));
77 (
78 Self {
79 inner: inner.clone(),
80 limit,
81 },
82 TailCaptureHandle { inner },
83 )
84 }
85
86 fn push_tail(&self, bytes: &[u8]) {
87 let Ok(mut state) = self.inner.lock() else {

Callers

nothing calls this directly

Calls 4

summarize_protocolFunction · 0.85
host_filesystemFunction · 0.85
typed_exportFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected