// 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/lex/util"
)

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

	return nil
}
