master
EnsureRemoveAll
func EnsureRemoveAll(dir string) error { notExistErr := make(map[string]bool) // track retries exitOnErr := make(map[string]int)