func (*dirMeta).getQuota is unused
382
383func (*dirMeta) trieMeta() {}
384func (dm *dirMeta) setQuota(quota *Quota) { dm.quota.Store(quota) }
385func (dm *dirMeta) getQuota() *Quota { return dm.quota.Load().(*Quota) } 386
387func (dm *dirMeta) withinQuota(metrics, namespaces, logical, physical, dataPoints int64) bool {
388 quota, ok := dm.quota.Load().(*Quota)
Description
It is recommended to keep the codebase clean by removing unused code.
This part of the code has not been used anywhere in the project and is not exported. Maybe it was mistakenly left behind while refactoring or was intended to be used somewhere but remained unused by mistake.