- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testQuotaIDMap (0.17 sec)
-
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)