Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DELETING (0.16 sec)

  1. src/os/removeall_at.go

    	}
    
    	// Simple case: if Remove works, we're done.
    	err := Remove(path)
    	if err == nil || IsNotExist(err) {
    		return nil
    	}
    
    	// RemoveAll recurses by deleting the path base from
    	// its parent directory
    	parentDir, base := splitPath(path)
    
    	parent, err := Open(parentDir)
    	if IsNotExist(err) {
    		// If parent does not exist, base cannot exist. Fail silently
    		return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. tests/associations_has_one_test.go

    	// Replace -> same as append
    
    	// Delete
    	if err := DB.Model(&users).Association("Account").Delete(&users[0].Account); err != nil {
    		t.Errorf("no error should happened when deleting account, but got %v", err)
    	}
    
    	AssertAssociationCount(t, users, "Account", 2, "after delete")
    
    	// Clear
    	DB.Model(&users).Association("Account").Clear()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. pilot/pkg/xds/deltatest.go

    		log.Debugf("ADS:%s: resources initialized", v3.GetShortType(w.TypeUrl))
    		return
    	}
    	if deltaRes == nil && deleted == nil && len(sotwRes) == 0 {
    		// TODO: it suspicious full is never nil - are there case where we should be deleting everything?
    		// Both SotW and Delta did not respond, nothing to compare
    		return
    	}
    	newByName := slices.GroupUnique(sotwRes, (*discovery.Resource).GetName)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top