Skip to main content

Module builder

Module builder 

Source
Expand description

§ToolCacheBuilder

A builder for the ToolCache struct.

This allows you to customize the ToolCache instance before creating it.

§Example

use ghactions_toolcache::ToolCache;


// Create a new ToolCache instance using the builder
let tool_cache = ToolCache::build()
    .retry_count(5)
    .client(reqwest::Client::new())
    .build();

Structs§

ToolCacheBuilder
A builder for the ToolCache struct.