MCPcopy Create free account
hub / github.com/Tencent/libpag / GetCompositionStoragePath

Function GetCompositionStoragePath

exporter/src/export/Marker.cpp:408–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408std::string GetCompositionStoragePath(const AEGP_ItemH& itemHandle) {
409 std::string storagePath = "";
410 std::string keyString = "storePath";
411 auto value = FindMarkerFromComposition(itemHandle, keyString);
412 if (value.has_value()) {
413 storagePath = value->get<std::string>();
414 }
415 return storagePath;
416}
417
418std::string GetMarkerFromComposition(const AEGP_ItemH& itemHandle, const std::string& key) {
419 auto optionalJson = FindMarkerFromComposition(itemHandle, key);

Callers 1

initSavePathMethod · 0.85

Calls 1

Tested by

no test coverage detected