MCPcopy
hub / github.com/perkeep/perkeep / main

Function main

dev/devcam/devcam.go:266–277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

264}
265
266func main() {
267 cmdmain.PostFlag = func() {
268 checkPerkeepSrcRoot()
269 if err := checkModtime(); err != nil {
270 log.Printf("Skipping freshness check: %v", err)
271 }
272 }
273
274 // TODO(mpl): usage error is not really correct for devcam.
275 // See if I can reimplement it while still using cmdmain.Main().
276 cmdmain.Main()
277}

Callers

nothing calls this directly

Calls 4

MainFunction · 0.92
checkPerkeepSrcRootFunction · 0.85
checkModtimeFunction · 0.85
PrintfMethod · 0.80

Tested by

no test coverage detected