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
| Name | Type | Description |
|---|---|---|
| cacheStatus | core.CatalogCacheStatus | The caching status of the catalog item, indicating its current state in the cache. |
| md | *core.CatalogMetadata | A pointer to the metadata associated with the catalog item, providing details about the item. |
Returns
| Type | Description |
|---|---|
Status | A new Status object containing the provided cache status and metadata. |