Polyman Documentation - v2.2.2
    Preparing search index...

    Function downloadSolutions

    • Downloads all solutions from Polygon and returns metadata.

      Parameters

      • sdk: PolygonSDK

        Polygon SDK instance

      • problemId: number

        Problem ID

      • problemDir: string

        Target directory for solutions

      Returns Promise<
          {
              data: { name: string; source: string; tag: SolutionTag }[];
              count: number;
          },
      >