Move FileSystem.getDirectoryContents to Directory.getContents

This commit is contained in:
Ian Wehrman committed 2013-10-09 16:16:07 -07:00
1 parent fb2c451879
commit 8269ff1604
11 files changed
+87 -79

No files matched your search

@@ -189,7 +189,7 @@ define(function (require, exports, module) {
fileSystem.resolve(dir, function (err, directory) {
if (!err && directory.isDirectory()) {
fileSystem.getDirectoryContents(directory, function (err, contents) {
directory.getContents(function (err, contents) {
if (!err) {
contents.slice(0, preferences.getMaxFileCount()).forEach(function (entry) {
var path = entry.fullPath,