MCPcopy Create free account
hub / github.com/acl-dev/acl / check_file

Function check_file

lib_acl_cpp/samples/md5/main.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static void check_file(const char* filepath)
74{
75 char buf[33];
76 if (acl::md5::md5_file(filepath, NULL, 0, buf, sizeof(buf)) == -1) {
77 printf("md5 check %s error\r\n", filepath);
78 } else {
79 printf("md5 ok, file=%s, result=%s\r\n", filepath, buf);
80 }
81}
82
83static void check_string(const acl::string& key, const acl::string& plain)
84{

Callers 2

mainFunction · 0.85
check_pathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…