diff options
Diffstat (limited to 'build2/filesystem.hxx')
-rw-r--r-- | build2/filesystem.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/build2/filesystem.hxx b/build2/filesystem.hxx index b575c4a..ccc5a73 100644 --- a/build2/filesystem.hxx +++ b/build2/filesystem.hxx @@ -129,27 +129,25 @@ namespace build2 bool empty (const dir_path&); - // Directories containing .buildignore file are automatically ignored by - // recursive names patterns. For now the file is just a marker and its - // contents don't matter. - // - extern const path buildignore_file; // .buildignore + // Directories containing .buildignore (or .build2ignore in the alternative + // naming scheme) file are automatically ignored by recursive name patterns. + // For now the file is just a marker and its contents don't matter. // Create a directory containing an empty .buildignore file. // fs_status<mkdir_status> - mkdir_buildignore (const dir_path&, uint16_t verbosity = 1); + mkdir_buildignore (const dir_path&, const path&, uint16_t verbosity = 1); // Return true if the directory is empty or only contains the .buildignore // file. Fail if the directory doesn't exist. // bool - empty_buildignore (const dir_path&); + empty_buildignore (const dir_path&, const path&); // Remove a directory if it is empty or only contains the .buildignore file. // fs_status<rmdir_status> - rmdir_buildignore (const dir_path&, uint16_t verbosity = 1); + rmdir_buildignore (const dir_path&, const path&, uint16_t verbosity = 1); } #include <build2/filesystem.txx> |