MCPcopy Create free account
hub / github.com/Autodesk/Aurora / addAssetPathContainingFile

Method addAssetPathContainingFile

Applications/Plasma/Plasma.cpp:1013–1019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1011#endif
1012
1013void Plasma::addAssetPathContainingFile(const string& filePath)
1014{
1015 string directory = filesystem::path(filePath).parent_path().u8string();
1016 if (directory.empty())
1017 return;
1018 addAssetPath(directory + "/");
1019}
1020
1021void Plasma::addAssetPath(const string& filePath)
1022{

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected