code: def using_transport(self, transport=None, path=None, logs=True):
          
          if not transport:
              return self
  
          if self.transport == transport and self.path == path:
              return self
  
          path_required = [SkopeoTransport.DIRECTORY,
                           SkopeoTransport.DOCKER_ARCHIVE,
                           SkopeoTransport.OCI]
  
          if transport in path_required:
              if not path and logs:
                  logging.debug("path not provided, temporary path was used")
              self.path = self.mount(path).mount_point
          elif transport == SkopeoTransport.OSTREE:
              if path and not os.path.isabs(path):
                  raise ConuException("Path '", path, "' for OSTree transport is not absolute")
              if not path and logs:
                  logging.debug("path not provided, default /ostree/repo path was used")
              self.path = path
          else:
              if path and logs:
                  logging.warning("path %s was ignored!", path)
              self.path = None
  
          self.transport = transport
          return self
docs: change used transport
  
          :param transport: from where will be this image copied
          :param path in filesystem
          :param logs enable/disable
          :return: self