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

Method Find

src/diskfile.cpp:1178–1185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1176}
1177
1178DiskFile* DiskFileMap::Find(std::string filename) const
1179{
1180 assert(filename.length() != 0);
1181
1182 std::map<std::string, DiskFile*>::const_iterator f = diskfilemap.find(filename);
1183
1184 return (f != diskfilemap.end()) ? f->second : 0;
1185}
1186
1187
1188FileSizeCache::FileSizeCache()

Callers 7

test3Function · 0.80
LoadPacketsFromFileMethod · 0.80
VerifySourceFilesMethod · 0.80
VerifyExtraFilesMethod · 0.80
LoadRecoveryFileMethod · 0.80
VerifySourceFilesMethod · 0.80
VerifyExtraFilesMethod · 0.80

Calls

no outgoing calls

Tested by 1

test3Function · 0.64