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

Method canRead

KittyMemoryEx/KittyIOFile.hpp:203–206  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

201
202 /**
203 * @brief Checks if the file can be read.
204 *
205 * @return true if the file can be read, false otherwise.
206 */
207 inline bool canRead() const
208 {
209 return access(_filePath.c_str(), R_OK) != -1;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected