createCache
Creates cache for given files, returns object with file path as key and md5 hash as value
Presentation
function createCache (
version?: string | undefined,
files?: string[] | undefined,
data?: Record<string, unknown> | undefined,
result?: string | undefined,
): NgDocCachedData <unknown>;Returns
NgDocCachedData <unknown>Parameters
| Name | Type | Description |
|---|---|---|
| version | string | undefined | version of the current package |
| files | string[] | undefined | list of files, for which cache should be created |
| data | Record<string, unknown> | undefined | properties, which should be cached |
| result | string | undefined | result of the builder, which should be cached |