* @brief Check if a property key is internal (starts with INTERNAL_PROPERTY_PREFIX). * * Internal properties are REST API metadata and should not be exposed to clients. * * @param key The property key to check. * @return true if the property is internal. */
| 277 | * @return true if the property is internal. |
| 278 | */ |
| 279 | bool IsInternalProperty(const std::string& key) |
| 280 | { |
| 281 | // Check if key starts with INTERNAL_PROPERTY_PREFIX ("restapi.") |
| 282 | return key.rfind(mitk::DataStorageBridge::INTERNAL_PROPERTY_PREFIX, 0) == 0; |
| 283 | } |
| 284 | |
| 285 | } |
| 286 |
no outgoing calls
no test coverage detected