bool write_library_snippets_to_files(std::filesystem::path, std::unordered_set< std::string >, const std::unordered_map< std::string, sdfg::codegen::CodeSnippet > &, std::unordered_map< std::string, std::vector< std::filesystem::path > > &, const std::string &file_ending)