fastga.utils.resource_management.copy module

fastga.utils.resource_management.copy.copy_resource_from_path(source: str, resource: str, target_path)[source]

Copies the indicated resource file to provided target path.

If target_path matches an already existing folder, resource file will be copied in this folder with same name. Otherwise, target_path will be the used name of copied resource file

Parameters
  • source – source of the resource to copy

  • resource – name of the resource to copy

  • target_path – file system path