Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
158
func
(this *LogWriter) syncLog() {
159
for
_, filter :=
range
this.filter {
160
filter.file.Sync()
161
filter.file.Close()
162
}
163
}
164
165
func
(this *LogWriter) DoClose() {
166
this.syncLog()
Callers
2
MakeLogTimePath
Method · 0.95
DoClose
Method · 0.95
Calls
1
Close
Method · 0.65
Tested by
no test coverage detected