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

Method exists

KittyMemoryEx/KittyIOFile.hpp:193–196  ·  view source on GitHub ↗

* @brief Checks if the file exists. * * @return true if the file exists, false otherwise. */

Source from the content-addressed store, hash-verified

191 * @return true if the file exists, false otherwise.
192 */
193 inline bool exists() const
194 {
195 return access(_filePath.c_str(), F_OK) != -1;
196 }
197
198 /**
199 * @brief Checks if the file can be read.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected