3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-30 13:19:05 +00:00

reduce OS ifdefs, refactor getting dirs and filenames from paths to files

This commit is contained in:
Emil J. Tywoniak 2024-11-08 19:29:56 +01:00 committed by Emil Jiří Tywoniak
parent e8f8297e5d
commit d31bfdd66a
5 changed files with 25 additions and 26 deletions

View file

@ -469,6 +469,8 @@ bool is_absolute_path(std::string filename);
void remove_directory(std::string dirname);
bool create_directory(const std::string& dirname);
std::string escape_filename_spaces(const std::string& filename);
std::string name_from_file_path(std::string path);
std::string parent_from_file_path(std::string path);
YOSYS_NAMESPACE_END