MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / AllocFileId

Method AllocFileId

CodeFormatServer/src/DB/FileDB.cpp:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5}
6
7std::size_t FileDB::AllocFileId() {
8 return _fileIdCounter++;
9}
10
11void FileDB::ApplyFileUpdate(std::size_t fileId, std::string &&text) {
12 auto ptr = std::make_shared<std::string>(std::move(text));

Callers 1

UpdateFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected