Angular Modernizer
    Preparing search index...

    Cache manager for AST and analysis results, with file change detection (content hash and mtime) and automatic invalidation.

    Index

    Constructors

    Methods

    • Clear entire cache

      Returns Promise<void>

    • Get cached AST for a file

      Parameters

      • filePath: string

      Returns Promise<CachedAst | null>

    • Initialize cache directory

      Returns Promise<void>

    • Invalidate cache for a file

      Parameters

      • filePath: string
      • Optionaltype: "analysis" | "ast"

      Returns Promise<void>

    • Cache analysis results

      Parameters

      • filePath: string
      • results: unknown[]
      • dependencies: string[] = []

      Returns Promise<void>

    • Cache AST for a file

      Parameters

      • filePath: string
      • ast: string

      Returns Promise<void>