Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cubitect/cubiomes-viewer
/ getScriptHash
Function
getScriptHash
src/scripts.cpp:63–67 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
61
}
62
63
uint64_t getScriptHash(QFileInfo finfo)
64
{
65
QString fnam = finfo.baseName();
66
return murmur64(fnam.data(), fnam.size() * sizeof(QChar));
67
}
68
69
void getScripts(QMap<uint64_t, QString>& scripts)
70
{
Callers
2
onLuaSaveAs
Method · 0.85
getScripts
Function · 0.85
Calls
2
murmur64
Function · 0.85
data
Method · 0.45
Tested by
no test coverage detected