diff options
Diffstat (limited to 'libbuild2/filesystem.hxx')
-rw-r--r-- | libbuild2/filesystem.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbuild2/filesystem.hxx b/libbuild2/filesystem.hxx index 5169964..26544bc 100644 --- a/libbuild2/filesystem.hxx +++ b/libbuild2/filesystem.hxx @@ -179,6 +179,16 @@ namespace build2 LIBBUILD2_SYMEXPORT fs_status<rmdir_status> rmdir_buildignore (context&, const dir_path&, const path&, uint16_t verbosity = 1); + + // Get/set a path permissions. + // + using permissions = butl::permissions; + + LIBBUILD2_SYMEXPORT permissions + path_perms (const path&); + + LIBBUILD2_SYMEXPORT void + path_perms (const path&, permissions); } #include <libbuild2/filesystem.ixx> |