Details
-
Suggestion
-
Resolution: Duplicate
-
P2: Important
-
None
-
some future version
-
None
Description
Argh. double fail. when i edit .qbs file and then has an error, on next run it get prev. cache, even if it changed. maybe it is bug.
Suggestion: now we have File and Textfile helper, would nice to have Directory helper which provide some interface to QDir.
reason: I have a lib with dozens cpp and h files in one dir, which can be accidentaly removed or renamed.
Wolud nice to write
files: Directory.scan('/full/path/','.cpp').concat(Directory.scan('/full/path/','.h'))
or something like.
Methods that should be at least implemented:
scan, mkdir, rmdir, copy_recursive - maybe you know some more.
still need some way to exclude some files,
e.g. ['*.cpp','*.h'].except('main.cpp').
Is there a way to do this?