OLD | NEW |
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 #include <time.h> | 8 #include <time.h> |
9 #include <dirent.h> | 9 #include <dirent.h> |
10 #include <glob.h> | 10 #include <glob.h> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 char** paths = globBuffer.gl_pathv; | 110 char** paths = globBuffer.gl_pathv; |
111 while(NULL != *paths) { | 111 while(NULL != *paths) { |
112 entries->push_back(SkString(*paths)); | 112 entries->push_back(SkString(*paths)); |
113 paths++; | 113 paths++; |
114 } | 114 } |
115 | 115 |
116 globfree(&globBuffer); | 116 globfree(&globBuffer); |
117 | 117 |
118 return true; | 118 return true; |
119 } | 119 } |
OLD | NEW |