MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / ExtractArchiveInit

Method ExtractArchiveInit

Libraries/unrar/extract.cpp:82–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82void CmdExtract::ExtractArchiveInit(Archive &Arc)
83{
84 DataIO.UnpArcSize=Arc.FileLength();
85
86 FileCount=0;
87 MatchedArgs=0;
88#ifndef SFX_MODULE
89 FirstFile=true;
90#endif
91
92 GlobalPassword=Cmd->Password.IsSet() || uiIsGlobalPasswordSet();
93
94 DataIO.UnpVolume=false;
95
96 PrevProcessed=false;
97 AllMatchesExact=true;
98 AnySolidDataUnpackedWell=false;
99
100 StartTime.SetCurrentTime();
101}
102
103
104EXTRACT_ARC_CODE CmdExtract::ExtractArchive()

Callers 1

RAROpenArchiveExFunction · 0.80

Calls 4

FileLengthMethod · 0.80
SetCurrentTimeMethod · 0.80
uiIsGlobalPasswordSetFunction · 0.70
IsSetMethod · 0.45

Tested by

no test coverage detected