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

Method write

lib-engine/src/log_file_writer.rs:68–75  ·  view source on GitHub ↗
(&mut self, buf: &[u8])

Source from the content-addressed store, hash-verified

66
67impl Write for LogFileWriterInner {
68 fn write(&mut self, buf: &[u8]) -> io::Result<usize> {
69 self.update_file_if_necessary()?;
70 if let Some(file) = self.writer.as_mut() {
71 file.write_all(buf)?;
72 }
73 // Always returns OK whatever the FileLogger is enabled or not.
74 Ok(buf.len())
75 }
76
77 fn flush(&mut self) -> io::Result<()> {
78 self.update_file_if_necessary()?;

Callers 15

truncate_file_from_wordFunction · 0.80
indent_fileFunction · 0.80
test_backup_cleaningFunction · 0.80
runMethod · 0.80
create_helm_diff_fileFunction · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1