Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetQuotaOnDir (0.19 sec)

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

    	if strings.HasPrefix(mountpoint, "/quota2") {
    		return testVolumeQuota{}
    	}
    	return nil
    }
    
    func (v testVolumeQuota) SetQuotaOnDir(dir string, id common.QuotaID, _ int64) error {
    	odir, ok := testIDQuotaMap[id]
    	if ok && dir != odir {
    		return fmt.Errorf("ID %v is already in use", id)
    	}
    	oid, ok := testQuotaIDMap[dir]
    	if ok && id != oid {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top