MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / addLink

Method addLink

launcher/mojang/PackageManifest.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void Package::addLink(const Path& path, const Path& target) {
66 addFolder(path.parent_path());
67 symlinks[path] = target;
68}
69
70void Package::addSource(const FileSource& source) {
71 sources[source.hash] = source;

Callers 2

fromJsonFunction · 0.80
fromInspectedFolderMethod · 0.80

Calls 1

parent_pathMethod · 0.80

Tested by

no test coverage detected