code: def receive(self, diff, paths):
          
          path = self.selectReceivePath(paths)
          path = self._relativePath(path)
  
          if Store.skipDryRun(logger, self.dryrun)("receive to %s", path):
              return None
  
          (diffTo, diffFrom) = self.toArg.diff(diff)
          self._client.receive(path, diffTo, diffFrom)
  
          progress = DisplayProgress(diff.size) if self.showProgress is True else None
          return _SSHStream(self._client, progress)
docs: Return Context Manager for a file-like (stream) object to store a diff.