Home > @microsoft/rush-lib > FileSystemBuildCacheProvider
FileSystemBuildCacheProvider class
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.
A build cache provider using the local file system. Required by all cloud cache providers.
Signature:
export declare class FileSystemBuildCacheProvider
Constructors
Constructor | Modifiers | Description |
|---|---|---|
(BETA) Constructs a new instance of the |
Methods
Method | Modifiers | Description |
|---|---|---|
(BETA) Returns the absolute disk path for the specified cache id. | ||
(BETA) Validates that the specified cache id exists on disk, and returns the path if it does. | ||
(BETA) Writes the specified buffer to the corresponding file system path for the cache id. |