(ts TaskState)
| 325 | } |
| 326 | |
| 327 | func (e *Engine) localFileChanged(ts TaskState) (bool, error) { |
| 328 | currentHash, err := HashLocalFile(ts.FilePath) |
| 329 | if err != nil { |
| 330 | return false, err |
| 331 | } |
| 332 | return currentHash != ts.LocalHash, nil |
| 333 | } |
| 334 | |
| 335 | func (e *Engine) scanExistingIDs(_ string) ([]string, error) { |
| 336 | scanDir := e.ConfigDir |
no test coverage detected