fab.steps.grab.folder module#

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

Copy a source folder to the project workspace.

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

  • src (Union[Path, str]) – The source location to grab. The nature of this parameter is depends on the subclass.

  • 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: '')