{"id":20713858,"url":"https://github.com/diffplug/libxdiff","last_synced_at":"2025-06-17T18:34:53.542Z","repository":{"id":150689108,"uuid":"340219235","full_name":"diffplug/libxdiff","owner":"diffplug","description":"LibXDiff ported to java","archived":false,"fork":false,"pushed_at":"2021-02-19T05:32:37.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T06:49:43.031Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diffplug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-19T00:54:41.000Z","updated_at":"2021-09-17T02:36:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"83412c8f-2198-4c22-b50a-e95a72ee01c3","html_url":"https://github.com/diffplug/libxdiff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/diffplug/libxdiff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffplug%2Flibxdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffplug%2Flibxdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffplug%2Flibxdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffplug%2Flibxdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diffplug","download_url":"https://codeload.github.com/diffplug/libxdiff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diffplug%2Flibxdiff/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260419276,"owners_count":23006246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T02:27:48.146Z","updated_at":"2025-06-17T18:34:48.529Z","avatar_url":"https://github.com/diffplug.png","language":"Java","readme":"# libxdiff: java port\n\nThis is a line-for-line port of the subset of LibXDiff which relates to sliding within-line diffs to account for brackets, quotes, etc.\n\nThe heuristics used to develop the weights are available at [`mhagger/diff-slider-tools`](https://github.com/mhagger/diff-slider-tools).\n\nThe exact lines translated are [lines 438-677](https://github.com/git/git/blob/791ad494835ac544d9e91573f3a65aeb97d126ed/xdiff/xdiffi.c#L438-L677) of the `xdiffi.c` file as it existed in `git/git` on August 17 2018. As of Oct 20 2020, none of the changes in upstream have affected the lines we care about.\n\n# Changelog\n\n## [Unreleased]\n\nOriginally translated to java on August 30 2019, but it sat dormant on a local branch for too long.\n\n\u003c!-- END CHANGELOG --\u003e\n\n# Acknowledgements\n\n- Thanks [Davide Libenzi](https://github.com/davidel) for writing the part of LibXDiff which we use.\n- Thanks to [Michael Haggerty](https://github.com/mhagger) for developing the heuristic weightings.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffplug%2Flibxdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiffplug%2Flibxdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiffplug%2Flibxdiff/lists"}