Angular Modernizer
    Preparing search index...

    Interface CitationFileSource

    File access for the verifier. Paths from listFiles are relative to the root and use the platform separator; isFile and readFile take absolute paths.

    interface CitationFileSource {
        isFile(path: string): boolean;
        listFiles(): readonly string[];
        readFile(path: string): string;
    }
    Index

    Methods

    • true when the absolute path is an existing file.

      Parameters

      • path: string

      Returns boolean

    • Repository files relative to the root (dependency and build folders excluded).

      Returns readonly string[]

    • Content of an existing file.

      Parameters

      • path: string

      Returns string