MCPcopy Create free account
hub / github.com/Cpasjuste/pplay / getMediaInfoPath

Method getMediaInfoPath

src/utility.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18using namespace pplay;
19
20std::string Utility::getMediaInfoPath(const c2d::Io::File &file) {
21 std::string hash = std::to_string(std::hash<std::string>()(file.path));
22 return c2d_renderer->getIo()->getDataPath() + "cache/" + hash + ".info";
23}
24
25std::string Utility::getMediaScrapPath(const c2d::Io::File &file) {
26 std::string hash = std::to_string(std::hash<std::string>()(file.path));

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
getDataPathMethod · 0.80

Tested by

no test coverage detected