Skip to content

MetadataCache.iterateFileCache method

MetadataCache › iterateFileCache

Unofficial

Visits cached metadata for non-ignored files; callback return values do not stop iteration.

Signature:

iterateFileCache(callback: (path: string, cache: CachedMetadata) => unknown): void

Parameters:

ParameterTypeDescription
callback(path: string, cache: CachedMetadata) => unknownThe callback receiving each path and its available metadata.

Returns: void