MCPcopy Create free account
hub / github.com/MengMengCode/GetRealityDomain / Close

Method Close

output.go:84–92  ·  view source on GitHub ↗

Close 关闭CSV写入器

()

Source from the content-addressed store, hash-verified

82
83// Close 关闭CSV写入器
84func (cw *CSVWriter) Close() error {
85 if cw.writer != nil {
86 cw.writer.Flush()
87 }
88 if cw.file != nil {
89 return cw.file.Close()
90 }
91 return nil
92}
93
94// ResultProcessor 结果处理器
95type ResultProcessor struct {

Callers 4

NewCSVWriterFunction · 0.45
CloseMethod · 0.45
PrintRealityTargetsFunction · 0.45
ExportRealityConfigFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected