X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Ffile_utils.h;h=72696f6abdf40484d044e4235f15c4f43d960f58;hb=350ed31655b00f3043e5d723606cdd50099fa91b;hp=184e644bba951b25c69840921f251f51dfb62771;hpb=e26e59b00634d5a66f39e40dea71d56a8dea0f2a;p=ardour.git diff --git a/libs/pbd/pbd/file_utils.h b/libs/pbd/pbd/file_utils.h index 184e644bba..72696f6abd 100644 --- a/libs/pbd/pbd/file_utils.h +++ b/libs/pbd/pbd/file_utils.h @@ -127,6 +127,9 @@ bool path_is_within (const std::string &, std::string); */ bool equivalent_paths (const std::string &p1, const std::string &p2); +/// @return true if path at p exists and is writable, false otherwise +bool exists_and_writable(const std::string & p); + } // namespace PBD #endif