| 509 | |
| 510 | |
| 511 | bool Foam::dynamicCode::upToDate(const SHA1Digest& sha1) const |
| 512 | { |
| 513 | const fileName file = digestFile(); |
| 514 | |
| 515 | if (!exists(file, false) || SHA1Digest(IFstream(file)()) != sha1) |
| 516 | { |
| 517 | return false; |
| 518 | } |
| 519 | |
| 520 | return true; |
| 521 | } |
| 522 | |
| 523 | |
| 524 | bool Foam::dynamicCode::upToDate(const dynamicCodeContext& context) const |
nothing calls this directly
no test coverage detected