MCPcopy
hub / github.com/aceld/zinx / flush

Method flush

zutils/witer.go:220–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218}
219
220func (w *Writer) flush() error {
221 w.mu.Lock()
222 defer w.mu.Unlock()
223 if w.bw == nil {
224 return nil
225 }
226 return w.bw.Flush()
227}
228
229// ZipToFile 压缩至文件
230// @params dst string 压缩文件目标路径

Callers 2

daemonMethod · 0.95
CloseMethod · 0.95

Calls 1

FlushMethod · 0.80

Tested by

no test coverage detected