MCPcopy Create free account
hub / github.com/Tencent/MMKV / File

Method File

Core/MemoryFile_Win32.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41static bool ftruncate(MMKVFileHandle_t file, size_t size);
42
43File::File(MMKVPath_t path, OpenFlag flag)
44 : m_path(std::move(path)), m_utf8Path(MMKVPath_t2String(m_path)), m_fd(INVALID_HANDLE_VALUE), m_flag(flag) {
45 open();
46}
47
48static pair<int, int> OpenFlag2NativeFlag(OpenFlag flag) {
49 int access = 0, create = OPEN_EXISTING;

Callers

nothing calls this directly

Calls 1

MMKVPath_t2StringFunction · 0.85

Tested by

no test coverage detected