func Cleanup() { if err := lfs.ClearTempObjects(); err != nil { fmt.Fprintf(os.Stderr, "Error clearing old temp files: %s\n", err) } }
func clearTempObjects() { if err := lfs.ClearTempObjects(); err != nil { fmt.Fprintf(os.Stderr, "Error opening %q to clear old temp files: %s\n", lfs.LocalObjectTempDir, err) } }