docs: def check_target(target_path):
      """
      Checks that the target path is not empty
      """
  
      if not path.exists(target_path):
          return
  
      with scandir(target_path) as d:
          for entry in d:
              if not entry.name.startswith('.'):
                  fail(f'Target directory "{target_path}" is not empty')