MCPcopy Create free account
hub / github.com/Qovery/engine / lock_file

Method lock_file

lib-engine/src/log_file_writer.rs:48–50  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46 }
47
48 fn lock_file(&self) -> io::Result<MutexGuard<'_, Option<BufWriter<File>>>> {
49 self.file.1.lock().map_err(|_| io::Error::other("Mutex lock failed"))
50 }
51}
52
53impl LogFileWriterInner {

Callers 2

enableMethod · 0.80
disableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected