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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | experimental/skpdiff/skpdiff_util.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef skpdiff_util_DEFINED 8 #ifndef skpdiff_util_DEFINED
9 #define skpdiff_util_DEFINED 9 #define skpdiff_util_DEFINED
10 10
(...skipping 16 matching lines...) Expand all
27 double get_seconds(); 27 double get_seconds();
28 28
29 /** 29 /**
30 * Get file entries of the given directory. 30 * Get file entries of the given directory.
31 * @param path A path to a directory to enumerate 31 * @param path A path to a directory to enumerate
32 * @param entries A vector to return the results into 32 * @param entries A vector to return the results into
33 * @return True on success, false otherwise 33 * @return True on success, false otherwise
34 */ 34 */
35 bool get_directory(const char path[], SkTArray<SkString>* entries); 35 bool get_directory(const char path[], SkTArray<SkString>* entries);
36 36
37 /**
38 * Gets the files that match the specified pattern in sorted order.
39 * @param globPattern The pattern to use. Patterns must be valid paths, optiona lly with wildcards (*)
40 * @param entries An array to return the results into
41 * @return True on success, false otherwise
42 */
43 bool glob_files(const char globPattern[], SkTArray<SkString>* entries);
44
37 45
38 #endif 46 #endif
OLDNEW
« 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