Angular Modernizer
    Preparing search index...

    Reads files for the graph and reports a version token for caching.

    interface GraphFileSource {
        getVersion(filePath: string): string | undefined;
        readFile(filePath: string): string | undefined;
    }
    Index

    Methods

    • Version token (e.g. mtime + size) used to reuse cached parses. undefined disables parse caching for the file.

      Parameters

      • filePath: string

      Returns string | undefined

    • Returns the file text, or undefined when the file cannot be read.

      Parameters

      • filePath: string

      Returns string | undefined