Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Unified Diff: experimental/skpdiff/skpdiff_util.h

Issue 17881002: add globbing util function (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add TODO Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | experimental/skpdiff/skpdiff_util.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/skpdiff/skpdiff_util.h
diff --git a/experimental/skpdiff/skpdiff_util.h b/experimental/skpdiff/skpdiff_util.h
index 34fa8f3e0082196113b8349e24c33adf471dc626..d98175e038bf2fb0f791721346b3338816ea55e7 100644
--- a/experimental/skpdiff/skpdiff_util.h
+++ b/experimental/skpdiff/skpdiff_util.h
@@ -34,5 +34,13 @@ double get_seconds();
*/
bool get_directory(const char path[], SkTArray<SkString>* entries);
+/**
+ * Gets the files that match the specified pattern in sorted order.
+ * @param globPattern The pattern to use. Patterns must be valid paths, optionally with wildcards (*)
+ * @param entries An array to return the results into
+ * @return True on success, false otherwise
+ */
+bool glob_files(const char globPattern[], SkTArray<SkString>* entries);
+
#endif
« no previous file with comments | « no previous file | experimental/skpdiff/skpdiff_util.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698