| 909 | } |
| 910 | |
| 911 | bool Par2Creator::FinishFileHashComputation(void) |
| 912 | { |
| 913 | // If we deferred the computation of the full file hash, then we finish it now |
| 914 | if (deferhashcomputation) |
| 915 | { |
| 916 | // For each source file |
| 917 | std::vector<Par2CreatorSourceFile*>::iterator sourcefile = sourcefiles.begin(); |
| 918 | |
| 919 | while (sourcefile != sourcefiles.end()) |
| 920 | { |
| 921 | (*sourcefile)->FinishHashes(); |
| 922 | |
| 923 | ++sourcefile; |
| 924 | } |
| 925 | } |
| 926 | |
| 927 | return true; |
| 928 | } |
| 929 | |
| 930 | // Fill in all remaining details in the critical packets. |
| 931 | bool Par2Creator::FinishCriticalPackets(void) |
nothing calls this directly
no test coverage detected