Skip to content

Latest commit

 

History

History
75 lines (39 loc) · 1.27 KB

File metadata and controls

75 lines (39 loc) · 1.27 KB
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @microsoft/rush-lib > FileSystemBuildCacheProvider > tryGetCacheEntryPathByIdAsync

FileSystemBuildCacheProvider.tryGetCacheEntryPathByIdAsync() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Validates that the specified cache id exists on disk, and returns the path if it does.

Signature:

tryGetCacheEntryPathByIdAsync(terminal: ITerminal, cacheId: string): Promise<string | undefined>;

Parameters

Parameter

Type

Description

terminal

ITerminal

cacheId

string

Returns:

Promise<string | undefined>