[QBS] Function to enumerate all files in desired directory
Denis Shienkov
denis.shienkov at gmail.com
Fri May 30 14:01:44 CEST 2014
Hi guys,
1)
It is possible to create an some JS function to return a list of all
available files (e.g. by a file mask or extension) in target directory?
function(targetDirectory, fileMaskOrExtension) {
var fullFilePaths = [];
...
...
return fullFilePaths;
}
maybe similar core (example) is already exists in Qbs sources and so on?
(but I can not find anything similar ...)
2) It is possible to implement this function with recursive search in
sub-directories?
BR,
Denis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20140530/03ad5ab4/attachment.html>
More information about the Qbs
mailing list