opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
filesystem_helpers.h File Reference
#include <filesystem>
#include <functional>
#include <span>
#include <string_view>
#include <vector>
Include dependency graph for filesystem_helpers.h:

Go to the source code of this file.

Namespaces

namespace  osc
 

Functions

void osc::for_each_file_with_extensions_recursive (const std::filesystem::path &root, const std::function< void(std::filesystem::path)> &consumer, std::span< const std::string_view > extensions)
 
std::vector< std::filesystem::path > osc::find_files_with_extensions_recursive (const std::filesystem::path &root, std::span< const std::string_view > extensions)
 
void osc::for_each_file_recursive (const std::filesystem::path &root, const std::function< void(std::filesystem::path)> &consumer)
 
std::vector< std::filesystem::path > osc::find_files_recursive (const std::filesystem::path &root)
 
bool osc::is_filename_lexicographically_greater_than (const std::filesystem::path &p1, const std::filesystem::path &p2)
 
bool osc::is_subpath (const std::filesystem::path &dir, const std::filesystem::path &path)