summaryrefslogtreecommitdiff
path: root/tools/aapt2/util/Files.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/util/Files.h')
-rw-r--r--tools/aapt2/util/Files.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/aapt2/util/Files.h b/tools/aapt2/util/Files.h
index b26e4fa26de6..219e1a07af95 100644
--- a/tools/aapt2/util/Files.h
+++ b/tools/aapt2/util/Files.h
@@ -70,6 +70,9 @@ android::StringPiece GetFilename(const android::StringPiece& path);
// of the path.
android::StringPiece GetExtension(const android::StringPiece& path);
+// Returns whether or not the name of the file or directory is a hidden file name
+bool IsHidden(const android::StringPiece& path);
+
// Converts a package name (com.android.app) to a path: com/android/app
std::string PackageToPath(const android::StringPiece& package);