Implements scanner.CurrentFiler
(file string)
| 1434 | |
| 1435 | // Implements scanner.CurrentFiler |
| 1436 | func (cf cFiler) CurrentFile(file string) (protocol.FileInfo, bool) { |
| 1437 | fi, ok, err := cf.db.GetDeviceFile(cf.folder, protocol.LocalDeviceID, file) |
| 1438 | if err != nil || !ok { |
| 1439 | return protocol.FileInfo{}, false |
| 1440 | } |
| 1441 | return fi, true |
| 1442 | } |
nothing calls this directly
no test coverage detected