summaryrefslogtreecommitdiffstats
path: root/tools/aapt2/Files.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/Files.h')
-rw-r--r--tools/aapt2/Files.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt2/Files.h b/tools/aapt2/Files.h
index 37e6f8c..844fd2b 100644
--- a/tools/aapt2/Files.h
+++ b/tools/aapt2/Files.h
@@ -71,6 +71,11 @@ void appendPath(std::string* base, const StringPiece& part, const Ts&... parts);
*/
bool mkdirs(const StringPiece& path);
+/**
+ * Returns all but the last part of the path.
+ */
+std::string getStem(const StringPiece& path);
+
/*
* Filter that determines which resource files/directories are
* processed by AAPT. Takes a pattern string supplied by the user.