Skip to content

PromptScript API


Interface: GitCacheManagerOptions

Defined in: resolver/src/git-cache-manager.ts:51

Options for GitCacheManager.

Properties

cacheDir?

optional cacheDir: string

Defined in: resolver/src/git-cache-manager.ts:56

Base directory for cache storage. Defaults to ~/.promptscript/.cache/git


ttl?

optional ttl: number

Defined in: resolver/src/git-cache-manager.ts:63

Time-to-live in milliseconds for cached entries. After this time, the cache is considered stale.

Default

3600000 (1 hour)