Function restoreCache

  • Restores files from the cache using the specified key and version.

    Parameters

    • key: string

      The cache key.

    • version: string

      The cache version.

    Returns Promise<boolean>

    A promise that resolves to a boolean value indicating whether the file was restored successfully.