Created
April 4, 2016 06:48
-
-
Save orgads/98c6587109a21caa2fd28e9ae5061373 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function filesList(directory) { | |
| var File = loadExtension("qbs.File"); | |
| var FileInfo = loadExtension("qbs.FileInfo"); | |
| var res = File.directoryEntries(directory, File.Files); | |
| return res.map(function(f) { return FileInfo.joinPaths(directory, f); }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment