Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countByID (0.07 sec)

  1. pkg/volume/util/fsquota/project.go

    			}
    			// Faster and easier than deleting an element
    			list.projects[i].isValid = false
    			foundAt = i
    		}
    		countByID[project.id]++
    	}
    	if foundAt == -1 {
    		return false, fmt.Errorf("cannot find quota associated with path %s", path)
    	}
    	if countByID[id] <= 1 {
    		// Removing the last entry means that we're no longer using
    		// the quota ID, so remove that as well
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top