mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-06 11:55:48 +08:00
节点可以单独设置缓存目录
This commit is contained in:
@@ -45,6 +45,10 @@ func (this *SizeCapacity) Bytes() int64 {
|
||||
}
|
||||
}
|
||||
|
||||
func (this *SizeCapacity) IsNotEmpty() bool {
|
||||
return this.Count > 0
|
||||
}
|
||||
|
||||
func (this *SizeCapacity) AsJSON() ([]byte, error) {
|
||||
return json.Marshal(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user