MCPcopy Create free account
hub / github.com/cinit/TMoe / isValid

Method isValid

app/src/main/cpp/utils/FileMemMap.h:66–68  ·  view source on GitHub ↗

* Get is the file is mapped. * @return true if the file is mapped, false otherwise. */

Source from the content-addressed store, hash-verified

64 * @return true if the file is mapped, false otherwise.
65 */
66 [[nodiscard]] inline bool isValid() const noexcept {
67 return mAddress != nullptr && mLength != 0;
68 }
69
70 /**
71 * Unmap the file.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected