MCPcopy Create free account
hub / github.com/Cyinx/einx / syncLog

Method syncLog

slog/slog_write.go:158–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156}
157
158func (this *LogWriter) syncLog() {
159 for _, filter := range this.filter {
160 filter.file.Sync()
161 filter.file.Close()
162 }
163}
164
165func (this *LogWriter) DoClose() {
166 this.syncLog()

Callers 2

MakeLogTimePathMethod · 0.95
DoCloseMethod · 0.95

Calls 1

CloseMethod · 0.65

Tested by

no test coverage detected