* @brief Format Version info to string. * @param [in] pCtxt Pointer to compare context. * @param [in] pdi Pointer to DIFFITEM. * @param [in] bLeft Is the item left-size item? * @return String proper to show in the GUI. */
| 584 | * @return String proper to show in the GUI. |
| 585 | */ |
| 586 | static String GetVersion(const CDiffContext * pCtxt, const DIFFITEM *pdi, int nIndex) |
| 587 | { |
| 588 | DIFFITEM &di = const_cast<DIFFITEM &>(*pdi); |
| 589 | DiffFileInfo & dfi = di.diffFileInfo[nIndex]; |
| 590 | if (dfi.version.IsCleared()) |
| 591 | { |
| 592 | pCtxt->UpdateVersion(di, nIndex); |
| 593 | } |
| 594 | return dfi.version.GetFileVersionString(); |
| 595 | } |
| 596 | |
| 597 | static uint64_t GetVersionQWORD(const CDiffContext * pCtxt, const DIFFITEM *pdi, int nIndex) |
| 598 | { |
no test coverage detected