// IsFullDestroy returns true if the set of changes indicates we are doing a
// destroy of all resources.
IsFullDestroy returns true if the set of changes indicates we are doing a
destroy of all resources.
// IsFullDestroy returns true if the set of changes indicates we are doing a // destroy of all resources .
func (cs *ChangesSync) IsFullDestroy() bool {
	if cs == nil {
		panic("FullDestroy on nil ChangesSync")
	}
	cs.lock.Lock()
	defer cs.lock.Unlock()
	for _, c := range cs.changes.Resources {
		if c.Action != Delete {
			return false
		}
	}
	return true
}
func ( cs * ChangesSync ) IsFullDestroy ( ) bool { if cs == nil { panic ( " " ) } cs . lock . Lock ( ) defer cs . lock . Unlock ( ) for _ , c := range cs . changes . Resources { if c . Action != Delete { return false } } return true }
IsFullDestroy returns true if the set of changes indicates we are doing a
destroy of all resources.
IsFullDestroy returns true if the set of changes indicates we are doing a destroy of all resources .