Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
std::size_t FileDB::AllocFileId() {
8
return _fileIdCounter++;
9
}
10
11
void FileDB::ApplyFileUpdate(std::size_t fileId, std::string &&text) {
12
auto ptr = std::make_shared<std::string>(std::move(text));
Callers
1
UpdateFile
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected