Module metadata

Source

Structs§

METADATA_MUTEX 🔒
MetadataCache
Cache implementation for metadata to reduce database access.

Functions§

cleanup_duplicate_keys
Cleans up duplicate metadata keys in a thread-safe manner.
cleanup_duplicate_keys_internal 🔒
Internal function to clean up duplicate metadata keys.
create_meta_table
Creates the metadata table in the database if it doesn’t already exist.
get_meta_value
Retrieves a metadata value by its key.
initialize_metadata_system
Initializes the metadata system, ensuring the table exists and is clean.
meta_table_exists
Checks if the metadata table exists in the database.
meta_table_exists_internal 🔒
Internal function to check if the metadata table exists.
set_meta_value
Sets a metadata value for a specific key.