Documentation ¶ Index ¶ func DiffTrees(_ context.Context, fromTree, toTree domain.Tree) ([]*domain.Source, int, error) func Search(ctx context.Context, algorithmName string, queries []*domain.Source, ...) ([]*domain.CloneSet, error) type AlgorithmFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DiffTrees ¶ added in v0.8.0 func DiffTrees( _ context.Context, fromTree, toTree domain.Tree, ) ([]*domain.Source, int, error) func Search ¶ func Search( ctx context.Context, algorithmName string, queries []*domain.Source, searchTree domain.Tree, ignore domain.IgnoreRules, ) ([]*domain.CloneSet, error) Types ¶ type AlgorithmFunc ¶ added in v0.7.1 type AlgorithmFunc = func( ctx context.Context, sourceTree domain.Searcher, sources []*domain.Source, searchTree domain.Searcher, ignore domain.IgnoreRules, ) ([]*domain.Clone, error) Source Files ¶ View all Source files search.gosearch_impl_adapter.go Click to show internal directories. Click to hide internal directories.