// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package atproto

// schema: com.atproto.repo.importRepo

import (
	"context"
	"io"

	"github.com/bluesky-social/indigo/xrpc"
)

// RepoImportRepo calls the XRPC method "com.atproto.repo.importRepo".
func RepoImportRepo(ctx context.Context, c *xrpc.Client, input io.Reader) error {
	if err := c.Do(ctx, xrpc.Procedure, "application/vnd.ipld.car", "com.atproto.repo.importRepo", nil, input, nil); err != nil {
		return err
	}

	return nil
}
