PengZheng commented on code in PR #476: URL: https://github.com/apache/celix/pull/476#discussion_r1113003174
########## documents/framework.md: ########## @@ -204,4 +204,75 @@ CELIX_AUTO_START_3=FooBundle.zip ") add_executable(create_framework_with_celix_launcher src/launcher.c) target_link_libraries(create_framework_with_celix_launcher PRIVATE Celix::framework) -``` \ No newline at end of file +``` + +## Framework bundle cache +The Apache Celix framework uses a bundle cache directory to store the installed bundles, their state and for a +persistent bundle storage. The bundle cache directory is created in the directory configured in the framework +property `CELIX_FRAMEWORK_CACHE_DIR` (default is ".cache"). A bundle cache consists of a bundle state property file, +a resource bundle cache and a persistent storage bundle cache. + +The resource bundle cache is used to store and access the bundle resources (e.g. the content of the bundle zip file) +and should be treated as read-only. The resource bundle cache can be accessed using `celix_bundle_getEntry` +or `celix::Bundle::getEntry`. + +The persistent storage bundle cache can be used to storage persistent data for a bundle and can be treated as Review Comment: ```suggestion The persistent storage bundle cache can be used to store persistent data for a bundle and can be treated as ``` Typo fixed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org