MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / canExecute

Method canExecute

KittyMemoryEx/KittyIOFile.hpp:223–226  ·  view source on GitHub ↗

* @brief Checks if the file can be executed. * * @return true if the file can be executed, false otherwise. */

Source from the content-addressed store, hash-verified

221
222 /**
223 * @brief Checks if the file can be executed.
224 *
225 * @return true if the file can be executed, false otherwise.
226 */
227 inline bool canExecute() const
228 {
229 return access(_filePath.c_str(), X_OK) != -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected