libmrbesen/inc/files.h

11 lines
351 B
C++

#pragma once
#include <string>
namespace mrbesen::Files {
void parent(const std::string& child, std::string& out); //get the parent directory of a file or directory path
void file(const std::string& path, std::string& out); //get the filename without the path
void extention(const std::string& path, std::string& ext); //get the files extenetion
}