MCPcopy Create free account
hub / github.com/CodingBeard/tfkg / RecordStats

Struct RecordStats

callback/record_stats.go:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11)
12
13type RecordStats struct {
14 RecordDir string
15 RecordFileName string
16 OnEvent Event
17 OnMode Mode
18
19 recordFile *os.File
20 recordWriter *csv.Writer
21}
22
23func (r *RecordStats) Init() error {
24 file, e := os.Create(filepath.Join(r.RecordDir, r.RecordFileName))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected