github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/daemon/graphdriver/vfs/quota_unsupported.go (about) 1 //go:build !linux 2 3 package vfs // import "github.com/Prakhar-Agarwal-byte/moby/daemon/graphdriver/vfs" 4 5 import "github.com/Prakhar-Agarwal-byte/moby/quota" 6 7 type driverQuota struct{} 8 9 func setupDriverQuota(driver *Driver) error { 10 return nil 11 } 12 13 func (d *Driver) setQuotaOpt(size uint64) error { 14 return quota.ErrQuotaNotSupported 15 } 16 17 func (d *Driver) getQuotaOpt() uint64 { 18 return 0 19 } 20 21 func (d *Driver) setupQuota(dir string, size uint64) error { 22 return quota.ErrQuotaNotSupported 23 } 24 25 func (d *Driver) quotaSupported() bool { 26 return false 27 }