MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / remove_fifo

Function remove_fifo

src/executor/shared/fifo.rs:17–19  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

15use tokio_util::codec::{FramedRead, LengthDelimitedCodec};
16
17fn remove_fifo(path: &Path) {
18 let _ = nix::unistd::unlink(path);
19}
20
21fn create_fifo<P: AsRef<std::path::Path>>(path: P) -> anyhow::Result<()> {
22 // Remove the previous FIFO (if it exists)

Callers 2

create_fifoFunction · 0.85
dropMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected