Go to the SVN repository for this file.
47vector<string> & warnings)
58 if(access(
file_name.c_str(), F_OK) != 0) {
59warnings.push_back(
"Error computing config file checksum, " 60 "the file does not exist: "+
file_name);
64 if(access(
file_name.c_str(), R_OK) != 0) {
65warnings.push_back(
"Error computing config file checksum, " 66 "there are no read permissions: "+
file_name);
71 stringchecksum_as_string;
76 returnchecksum_as_string;
77}
catch(
constexception & ex) {
78warnings.push_back(
"Error computing config file checksum. "+
82warnings.push_back(
"Unknown error of computing config file checksum");
Checksum and hash calculation classes.
CChecksum â Checksum calculator.
void AddFile(const string &file_path)
Update checksum with the file data.
void GetMD5Digest(unsigned char digest[16]) const
Return calculated MD5 digest.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
string NST_GetConfigFileChecksum(const string &file_name, vector< string > &warnings)
static const string s_ErrorGettingChecksum
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4