forked from qt-creator/qt-creator
Lua: Add FilePath:isExecutableFile()
Change-Id: I1e0984d7cb0ccab6a0092019a3fe133de76c2c77 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -70,6 +70,8 @@ return {
|
||||
[](const FilePath &self) { return self.searchInPath(); },
|
||||
"exists",
|
||||
&FilePath::exists,
|
||||
"isExecutableFile",
|
||||
&FilePath::isExecutableFile,
|
||||
"dirEntries",
|
||||
[](sol::this_state s, const FilePath &p, sol::table options) -> sol::table {
|
||||
sol::state_view lua(s);
|
||||
|
||||
Reference in New Issue
Block a user