(fileHash string)
| 239 | } |
| 240 | |
| 241 | func (this *BlocksFile) RemoveFile(fileHash string) error { |
| 242 | err := CheckHashErr(fileHash) |
| 243 | if err != nil { |
| 244 | return err |
| 245 | } |
| 246 | |
| 247 | return this.mFile.RemoveFile(fileHash) |
| 248 | } |
| 249 | |
| 250 | func (this *BlocksFile) Sync() error { |
| 251 | this.mu.Lock() |
nothing calls this directly
no test coverage detected