|
|
@ -15,8 +15,9 @@ using namespace std; |
|
|
|
Tagmanifest::Tagmanifest( string basedir ) { |
|
|
|
Tagmanifest::basedir = basedir; |
|
|
|
map<checksum_algorithms, string> possible_manifest_files; |
|
|
|
possible_manifest_files[md5] = "tagmanifest-md5.txt"; |
|
|
|
possible_manifest_files[sha1] = "tagmanifest-sha1.txt"; |
|
|
|
for (checksum_algorithms alg : checksum_algorithmsList) { |
|
|
|
possible_manifest_files[alg] = "tagmanifest-" + string_of_algorithm( alg ) + ".txt"; |
|
|
|
} |
|
|
|
for (map<checksum_algorithms, string>::iterator it=possible_manifest_files.begin(); it!=possible_manifest_files.end(); ++it) { |
|
|
|
// debug
|
|
|
|
// cout << it->first << " => " << it->second << endl;
|
|
|
|