Function saveCache

  • Saves files to the cache using the specified key and version.

    Parameters

    • key: string

      The cache key.

    • version: string

      The cache version.

    • filePaths: readonly string[]

      The paths of the files to be saved.

    Returns Promise<boolean>

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