Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyMC/PolyMC
/ addFile
Method
addFile
launcher/mojang/PackageManifest.cpp:50–53 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
void Package::addFile(const Path& path, const File& file) {
51
addFolder(path.parent_path());
52
files[path] = file;
53
}
54
55
void Package::addFolder(Path folder) {
56
if(!folder.has_parent_path()) {
Callers
2
fromJson
Function · 0.80
fromInspectedFolder
Method · 0.80
Calls
1
parent_path
Method · 0.80
Tested by
no test coverage detected