mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-28 11:10:26 +08:00
优化MMAP相关功能
This commit is contained in:
@@ -78,7 +78,7 @@ func (this *KVFileList) Add(hash string, item *Item) error {
|
||||
}
|
||||
|
||||
// Exist 检查内容是否存在
|
||||
func (this *KVFileList) Exist(hash string) (bool, error) {
|
||||
func (this *KVFileList) Exist(hash string) (bool, int64, error) {
|
||||
return this.getStore(hash).ExistItem(hash)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user