github.com/lazyboychen7/engine@v17.12.1-ce-rc2+incompatible/daemon/graphdriver/vfs/quota_unsupported.go (about)

     1  // +build !linux
     2  
     3  package vfs
     4  
     5  import "github.com/docker/docker/daemon/graphdriver/quota"
     6  
     7  type driverQuota struct {
     8  }
     9  
    10  func setupDriverQuota(driver *Driver) error {
    11  	return nil
    12  }
    13  
    14  func (d *Driver) setupQuota(dir string, size uint64) error {
    15  	return quota.ErrQuotaNotSupported
    16  }
    17  
    18  func (d *Driver) quotaSupported() bool {
    19  	return false
    20  }