Include FTS_PHYSICAL when calling fts_open

This commit is contained in:
Kevin Sawicki
2012-10-09 09:14:38 -07:00
parent edc1c590aa
commit d8ea07468b
2 changed files with 7 additions and 2 deletions

View File

@@ -55,13 +55,18 @@ class Project
filePaths = []
count = 0
start = new Date().getTime()
onFile = (path) =>
count++
filePaths.push(path) unless @ignoreFile(path)
onDirectory = (path) =>
count++
return not @ignoreDirectory(path)
fs.traverseTree @getPath(), onFile, onDirectory
console.log "#{count} paths in #{new Date().getTime()-start}ms"
deferred.resolve filePaths
deferred