Skip to content

MetadataCache.getCache method

MetadataCache › getCache

Official

Get the cached metadata for a path.

Signature:

getCache(path: string): CachedMetadata | null

Parameters:

ParameterTypeDescription
pathstringThe path of the file.

Returns: CachedMetadata | null — The cached metadata, or null if it is not cached.

Since: 0.14.5