mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-06 09:12:20 +00:00
new(utils): add new helper to calculate file sha256sum
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
This commit is contained in:
@@ -27,6 +27,8 @@ namespace falco::utils
|
||||
{
|
||||
uint64_t parse_prometheus_interval(std::string interval_str);
|
||||
|
||||
std::string calculate_file_sha256sum(const std::string& filename);
|
||||
|
||||
std::string wrap_text(const std::string& in, uint32_t indent, uint32_t linelen);
|
||||
|
||||
void readfile(const std::string& filename, std::string& data);
|
||||
|
Reference in New Issue
Block a user