Skip to content

Commit 0bfe213

Browse files
authored
Merge pull request #3214 from diffblue/file_util_comments
comments on future replacements of util/file_util.h functions
2 parents e09f5fa + 318922e commit 0bfe213

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/util/file_util.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@ Author: Daniel Kroening, [email protected]
1212

1313
#include <string>
1414

15+
// C++17 will allow us to use std::filesystem::path::remove_all
1516
void delete_directory(const std::string &path);
1617

18+
// C++17 will allow us to use std::filesystem::current_path
1719
std::string get_current_working_directory();
1820

21+
// C++17 will allow us to use std::filesystem::path(dir).append(file)
1922
std::string concat_dir_file(const std::string &directory,
2023
const std::string &file_name);
2124

22-
// C++17 will allow us to use std::filesystem::is_directory()
25+
// C++17 will allow us to use std::filesystem::is_directory
2326
bool is_directory(const std::string &path);
2427

2528
#endif // CPROVER_UTIL_FILE_UTIL_H

0 commit comments

Comments
 (0)