Data_deduplication_service
Service that will use hashes to deduplicate files
fileUtils.cpp File Reference
#include "fileUtils.h"
#include "common.h"
#include <cmath>
+ Include dependency graph for fileUtils.cpp:

Namespaces

 file_services
 file services namespace
 

Functions

std::array< size_t, 4 > file_services::compareDirectories (const fs::path &file1, const fs::path &file2, size_t segmentSize)
 
std::array< size_t, 4 > file_services::compareFiles (const fs::path &file1, const fs::path &file2, size_t segmentSize)
 
std::filesystem::path file_services::getNormalAbs (const std::filesystem::path &path)
 
tl::expected< std::string, int > file_services::checkFileExistence (std::string_view filePath)
 
tl::expected< std::string, int > file_services::checkDirectoryExistence (std::string_view dirPath)