MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / saveProgress

Method saveProgress

sqlchain/mirror/service.go:222–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220}
221
222func (s *Service) saveProgress() {
223 progressFile := filepath.Join(conf.GConf.WorkingRoot, string(s.dbID)+progressFileSuffix)
224 _ = ioutil.WriteFile(progressFile, []byte(fmt.Sprintf("%d", s.getProgress())), 0644)
225}
226
227func (s *Service) stop() {
228 if s.stopCh != nil {

Callers 1

pullMethod · 0.95

Calls 1

getProgressMethod · 0.95

Tested by

no test coverage detected