Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testQuotaIDMap (0.13 sec)

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

    		return fmt.Errorf("ID %v is already in use", id)
    	}
    	oid, ok := testQuotaIDMap[dir]
    	if ok && id != oid {
    		return fmt.Errorf("directory %s already has a quota applied", dir)
    	}
    	testQuotaIDMap[dir] = id
    	testIDQuotaMap[id] = dir
    	return nil
    }
    
    func (v testVolumeQuota) GetQuotaOnDir(path string) (common.QuotaID, error) {
    	id, ok := testQuotaIDMap[path]
    	if ok {
    		return id, nil
    	}
    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