mirror of
https://github.com/HamletDuFromage/sigpatches-updater.git
synced 2024-11-09 21:51:48 +00:00
20 lines
671 B
C++
20 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);
|
|
}
|