code: func getTransferManifestOperationRemote(operation, remote string) *tq.Manifest {
  	c := getAPIClient()
  
  	global.Lock()
  	defer global.Unlock()
  
  	k := fmt.Sprintf("%s.%s", operation, remote)
  	if tqManifest[k] == nil {
  		tqManifest[k] = tq.NewManifest(cfg.Filesystem(), c, operation, remote)
  	}
  
  	return tqManifest[k]
  }
docs: // getTransferManifestOperationRemote builds a tq.Manifest from the global os
  // and git environments and operation-specific and remote-specific settings.
  // Operation must be "download", "upload", or the empty string.