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:
Marcus Tillmanns
2024-04-18 13:54:35 +02:00
parent aef6e9b87b
commit 3350afeb61
2 changed files with 10 additions and 1 deletions

View File

@@ -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);