// Cleanup is an optional method which will execute cleanup operations
// affiliated with abide testing, such as pruning snapshots.
Cleanup is an optional method which will execute cleanup operations
affiliated with abide testing, such as pruning snapshots.
// Cleanup is an optional method which will execute cleanup operations // affiliated with abide testing such as pruning snapshots .
func Cleanup() error {
	for _, s := range allSnapshots {
		if !s.evaluated && args.shouldUpdate && !args.singleRun {
			s.shouldRemove = true
			fmt.Printf("Removing unused snapshot `%s`\n", s.id)
		}
	}
	return allSnapshots.save()
}
func Cleanup ( ) error { for _ , s := range allSnapshots { if ! s . evaluated && args . shouldUpdate && ! args . singleRun { s . shouldRemove = true fmt . Printf ( " \n " , s . id ) } } return allSnapshots . save ( ) }
Cleanup is an optional method which will execute cleanup operations
affiliated with abide testing, such as pruning snapshots.
Cleanup is an optional method which will execute cleanup operations affiliated with abide testing such as pruning snapshots .