Polyman Documentation - v3.1.0
    Preparing search index...
    • Reads one source file of the problem.

      Parameters

      • problemDir: string

        Problem directory path

      • source: string

        Path from Config.json, relative to the problem

      • label: string

        What to call the file in the not-found message

      Returns SourcePayload

      The file name and the normalized text

      If the path leaves the problem folder, or the file is missing