13 #include <unordered_map>
20 static const std::unordered_map<
22 std::function<void(
const std::string&,
const std::string&)>>
33 void Extract(
const std::string& file_path,
const std::string& extract_dir) {
filament::Texture::InternalFormat format
bool MakeDirectoryHierarchy(const std::string &directory)
bool DirectoryExists(const std::string &directory)
std::string GetFileExtensionInLowerCase(const std::string &filename)
bool FileExists(const std::string &filename)
bool IsSupportedCompressedFilePath(const std::string &file_path)
Returns true if the file is a supported compressed file path. It does not check if the file exists....
static const std::unordered_map< std::string, std::function< void(const std::string &, const std::string &)> > file_extension_to_extract_function
void ExtractFromZIP(const std::string &file_path, const std::string &extract_dir)
Function to extract files compressed in .zip format.
void Extract(const std::string &file_path, const std::string &extract_dir)
Function to extract compressed files.
Generic file read and write utility for python interface.