Skip to main content

NewStatus

No overview available.

def NewStatus(
cacheStatus: core.CatalogCacheStatus,
md: *core.CatalogMetadata
) - > Status

Creates and returns a new Status object initialized with the provided cache status and catalog metadata. This function is used to encapsulate the current state of a catalog item.

Parameters

NameTypeDescription
cacheStatuscore.CatalogCacheStatusThe caching status of the catalog item, indicating its current state in the cache.
md*core.CatalogMetadataA pointer to the metadata associated with the catalog item, providing details about the item.

Returns

TypeDescription
StatusA new Status object containing the provided cache status and metadata.