| 73 | } |
| 74 | |
| 75 | std::string CAssetsDir::GetIdentifier(const CAsset& asset) const |
| 76 | { |
| 77 | const std::string label = GetMetadata(asset).GetLabel(); |
| 78 | if (!label.empty()) return label; |
| 79 | return asset.GetHex(); |
| 80 | } |
| 81 | |
| 82 | std::vector<CAsset> CAssetsDir::GetKnownAssets() const |
| 83 | { |
no test coverage detected