mirror of
https://github.com/HamletDuFromage/sigpatches-updater.git
synced 2024-12-28 12:26:02 +00:00
21 lines
671 B
C
21 lines
671 B
C
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
#include <istream>
|
||
|
|
||
|
|
||
|
namespace zipper
|
||
|
{
|
||
|
void getFileCrc(std::istream& input_stream, std::vector<char>& buff, unsigned long& result_crc);
|
||
|
bool isLargeFile(std::istream& input_stream);
|
||
|
bool checkFileExists(const std::string& filename);
|
||
|
bool makedir(const std::string& newdir);
|
||
|
void removeFolder(const std::string& foldername);
|
||
|
std::string parentDirectory(const std::string& filepath);
|
||
|
std::string currentPath();
|
||
|
bool isDirectory(const std::string& path);
|
||
|
std::vector<std::string> filesFromDirectory(const std::string& path);
|
||
|
std::string fileNameFromPath(const std::string& path);
|
||
|
}
|