| 19 | const std::filesystem::path cSharedFolder = "SharedModels"; |
| 20 | |
| 21 | std::string composeKey( const std::string& objectName, const int prefix ) |
| 22 | { |
| 23 | constexpr int maxFileNameLen = 12; // keep file names not too long to avoid hitting limit in some OSes |
| 24 | return std::to_string( prefix ) + "_" + utf8substr( replaceProhibitedChars( objectName ).c_str(), 0, maxFileNameLen ); |
| 25 | } |
| 26 | |
| 27 | struct KeyObjectModel |
| 28 | { |
no test coverage detected