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

Method SaveProcessors

data/single_file_dataset.go:742–759  ·  view source on GitHub ↗
(saveDir string)

Source from the content-addressed store, hash-verified

740}
741
742func (d *SingleFileDataset) SaveProcessors(saveDir string) error {
743 e := os.MkdirAll(saveDir, os.ModePerm)
744 if e != nil {
745 d.errorHandler.Error(e)
746 return e
747 }
748 for _, processor := range d.columnProcessors {
749 e := processor.Save(saveDir)
750 if e != nil {
751 return e
752 }
753 }
754 e = d.yProcessor.Save(saveDir)
755 if e != nil {
756 return e
757 }
758 return nil
759}

Callers 5

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95

Calls 2

ErrorMethod · 0.65
SaveMethod · 0.45

Tested by

no test coverage detected