MCPcopy Create free account
hub / github.com/Parchive/par2cmdline / FinishFileHashComputation

Method FinishFileHashComputation

src/par2creator.cpp:911–928  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

909}
910
911bool 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.
931bool Par2Creator::FinishCriticalPackets(void)

Callers

nothing calls this directly

Calls 1

FinishHashesMethod · 0.80

Tested by

no test coverage detected