{"id":21662836,"url":"https://github.com/ktravis/diff","last_synced_at":"2025-10-07T10:11:41.097Z","repository":{"id":57495402,"uuid":"101176993","full_name":"ktravis/diff","owner":"ktravis","description":"Go implementation of patience diff, LCS, and merge","archived":false,"fork":false,"pushed_at":"2017-08-23T12:45:23.000Z","size":11,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T23:43:29.514Z","etag":null,"topics":["diff","golang","merge","patience"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ktravis.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}},"created_at":"2017-08-23T12:22:49.000Z","updated_at":"2025-02-19T21:36:39.000Z","dependencies_parsed_at":"2022-08-31T12:52:32.262Z","dependency_job_id":null,"html_url":"https://github.com/ktravis/diff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ktravis/diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktravis%2Fdiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktravis%2Fdiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktravis%2Fdiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktravis%2Fdiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktravis","download_url":"https://codeload.github.com/ktravis/diff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktravis%2Fdiff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278756062,"owners_count":26040248,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["diff","golang","merge","patience"],"created_at":"2024-11-25T10:18:18.047Z","updated_at":"2025-10-07T10:11:41.068Z","avatar_url":"https://github.com/ktravis.png","language":"Go","readme":"# diff [![GoDoc](https://godoc.org/github.com/ktravis/diff?status.svg)](https://godoc.org/github.com/ktravis/diff)\nGo implementation of patience diff, LCS, and merge\n\n```shell\ngo get github.com/ktravis/diff\n```\n\n---\n\nPatience diff was developed by Bram Cohen, see [here](http://alfedenzo.livejournal.com/170301.html) and\n[here](http://bramcohen.livejournal.com/73318.html) for explanations.\nThe diffs produced are generally more human-readable, i.e.,\n\nthe patience diff:\n\n```\n void func1() {\n     x += 1\n }\n\n+void functhreehalves() {\n+    x += 1.5\n+}\n+\n void func2() {\n     x += 2\n }\n```\n\nvs the traditional LCS-based diff:\n\n```\n void func1() {\n     x += 1\n+}\n+\n+void functhreehalves() {\n+    x += 1.5\n }\n \n void func2() {\n     x += 2\n }\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktravis%2Fdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktravis%2Fdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktravis%2Fdiff/lists"}