Porytiles
Loading...
Searching...
No Matches
filesystem_utils.hpp File Reference
#include <filesystem>
#include <fstream>
#include <random>
#include <sstream>
#include "porytiles/utilities/panic/panic.hpp"
#include "porytiles/utilities/stream_digest.hpp"
Include dependency graph for filesystem_utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  porytiles
 

Functions

std::filesystem::path porytiles::create_tmpdir ()
 Creates a unique temporary directory.
 
bool porytiles::files_are_identical (const std::filesystem::path &file_a, const std::filesystem::path &file_b)
 Checks if two files have identical contents.
 
std::filesystem::path porytiles::strip_all_extensions (const std::filesystem::path &path)
 Strips all extensions from a path, returning the path with only the stem.