zoekt

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewZoektClient

func NewZoektClient(opts *Options) *Client

func (*Client) AddFile

func (c *Client) AddFile(builder *build.Builder, path string, content []byte, size int64, branches []string) error

func (*Client) GetCurrentSHA

func (c *Client) GetCurrentSHA() (string, bool, error)

func (*Client) IncrementalSkipIndexing

func (c *Client) IncrementalSkipIndexing() bool

func (*Client) NewBuilder

func (c *Client) NewBuilder() (*build.Builder, error)

type Options

type Options struct {
	IndexDir   string
	ID         uint32
	IsDelta    bool
	RepoSource string
	SizeMax    int
	Branches   []RepositoryBranch
}

type RepositoryBranch

type RepositoryBranch struct {
	Name    string
	Version string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL