pruneExternalTemplateCache
pruneExternalTemplateCache(
options?):Promise<ExternalTemplateCachePruneResult>
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:494
Removes stale external template cache entries when a positive TTL is configured.
The helper is best-effort: malformed cache directories are skipped, cache roots must remain private and non-symlinked, and deletes are constrained to deterministic entry directories under the configured cache root.
Parameters
Section titled “Parameters”options?
Section titled “options?”ExternalTemplateCachePruneOptions = {}
Optional TTL, clock, and environment overrides.
Returns
Section titled “Returns”Promise<ExternalTemplateCachePruneResult>
Pruning summary with counts for inspected, skipped, and removed entries.