Re: gitweb and Levenshtein

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

On Thu, 12 Jul 2018, David Brown wrote:

> Howdy, I want to hack the getweb_make_index.perl script to create a string
> search using: https://github.com/git/git/blob/master/levenshtein.c.
> 
> How do i reference the compiled code?
> 
> I would like to call this routine using Java and maybe Perl.

The code to compute the Levenshtein distance is not exposed in Git's
command-line interface. Therefore, there is currently no way to call it
directly from Java or Perl.

The best you could do for now is to convert the code to Java or Perl.

Ciao,
Johannes



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux