|
SVCS - English Documentation
|
Defines utility functions for core of SVCS. More...
#include <filesystem>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | svcs::core |
| Core VCS data structures and object model. | |
Functions | |
| std::string | svcs::core::read_file_to_string (const fs::path &full_path) |
| Reads the entire content of a file into a single std::string. | |
| std::string | svcs::core::binary_to_hex_string (const unsigned char *binary_data, size_t length) |
| Converts a binary buffer (e.g., a raw SHA-1 hash) into its hexadecimal string representation. | |
| std::string | svcs::core::hex_to_binary_string (const std::string &hex_string) |
| Converts a hexadecimal string (e.g., 40 chars) into its raw binary byte representation (e.g., 20 bytes). | |
| std::string | svcs::core::compute_sha256 (const std::string &input) |
| Computes the SHA-256 hash of the given input data. | |
Defines utility functions for core of SVCS.