Function downloadFile

  • Downloads a file with its full path.

    Returns

    A useless promise to trigger async functionality.

    Parameters

    • download: AssignableDownload

      The download info object.

    • root: string = "./"

      An optional root directory to download to. Defaults to ./ (the current directory).

    Returns Promise<boolean>

Generated using TypeDoc