diff options
Diffstat (limited to 'src/Util.hpp')
-rw-r--r-- | src/Util.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Util.hpp b/src/Util.hpp index 6e0aea83..b92a3d5c 100644 --- a/src/Util.hpp +++ b/src/Util.hpp @@ -46,6 +46,10 @@ enum class UnlinkLog { log_failure, ignore_failure }; // Get base name of path. nonstd::string_view base_name(nonstd::string_view path); +// Determine if `path` is an absolute path with prefix, returning the split +// point +bool is_absolute_path_with_prefix(nonstd::string_view path, size_t& split_pos); + // Get an integer value from bytes in big endian order. // // Parameters: |