(hash string)
| 171 | } |
| 172 | |
| 173 | func (this *SQLiteFileList) ExistQuick(hash string) (isReady bool, found bool) { |
| 174 | var db = this.GetDB(hash) |
| 175 | |
| 176 | if !db.IsReady() || !db.HashMapIsLoaded() { |
| 177 | return |
| 178 | } |
| 179 | |
| 180 | isReady = true |
| 181 | found = db.hashMap.Exist(hash) |
| 182 | return |
| 183 | } |
| 184 | |
| 185 | // CleanPrefix 清理某个前缀的缓存数据 |
| 186 | func (this *SQLiteFileList) CleanPrefix(prefix string) error { |
nothing calls this directly
no test coverage detected