fab.steps.grab.folder#

This file contains the grab_folder function.

Functions

grab_folder(config, src[, dst_label])

Copy a source folder to the project workspace.

fab.steps.grab.folder.grab_folder(config, src, dst_label='')#

Copy a source folder to the project workspace. This function is deprecated, use grab_files instead.

Parameters:
  • config – The fab.build_config.BuildConfig object where we can read settings such as the project workspace folder or the multiprocessing flag.

  • src (Path | str) – The source directory or file to grab.

  • dst_label (str) – The name of a sub folder, in the project workspace, in which to put the source. If not specified, the code is copied into the root of the source folder. (default: '')