{"id":3766183,"name":"github.com/Merovius/diff","ecosystem":"go","description":"Package diff calculates the differences between two sequences.\n\nIt implements the algorithm from \"An Algorithm for Differential File\nComparison\" by Hunt and McIlroy:\nhttps://www.cs.dartmouth.edu/~doug/diff.pdf\n\nFor flexibility, the algorithm itself operates on a sequence of integers.\nThis allows you to compare arbitrary sequences, as long as you can map their\nelements to a uint64.\n\nTo generate a diff for text, the inputs need to be split and hashed.\nSplitting should be done to reduce algorithmic complexity (which is\nO(m•n•log(m)) in the worst case). It also creates diffs that are better\nsuited for human consumption. Hashing means that collisions are possible,\nbut they should be rare enough in practice to not matter. If they do happen,\nthe resulting diff might be subpoptimal.","homepage":"https://github.com/Merovius/diff","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/Merovius/diff","keywords_array":[],"namespace":"github.com/Merovius","versions_count":2,"first_release_published_at":"2020-01-23T13:17:43.000Z","latest_release_published_at":"2020-10-07T07:07:45.000Z","latest_release_number":"v1.0.1","last_synced_at":"2026-04-04T18:21:31.029Z","created_at":"2022-04-11T16:19:02.298Z","updated_at":"2026-04-04T18:21:31.029Z","registry_url":"https://pkg.go.dev/github.com/Merovius/diff","install_command":"go get github.com/Merovius/diff","documentation_url":"https://pkg.go.dev/github.com/Merovius/diff#section-documentation","metadata":{},"repo_metadata":{"uuid":"234400667","full_name":"Merovius/diff","owner":"Merovius","description":"A simple, yet flexible implementation of diff for Go","archived":false,"fork":false,"pushed_at":"2020-10-07T07:08:44.000Z","size":19,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-15T20:08:12.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"logo_url":null,"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":"2020-01-16T19:59:06.000Z","updated_at":"2022-11-20T00:01:37.000Z","dependencies_parsed_at":"2022-09-26T18:40:45.416Z","dependency_job_id":null,"html_url":"https://github.com/Merovius/diff","commit_stats":null,"repository_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merovius%2Fdiff","tags_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merovius%2Fdiff/tags","manifests_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Merovius%2Fdiff/manifests","owner_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Merovius","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":108921946,"host_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"http://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names"}},"repo_metadata_updated_at":"2023-03-21T19:03:58.417Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":9.345852080216646,"dependent_packages_count":6.999148183520997,"stargazers_count":null,"forks_count":null,"average":8.172500131868823},"purl":"pkg:golang/github.com/%21merovius/diff","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/Merovius/diff","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/Merovius/diff","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/Merovius/diff/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2023-05-18T05:54:04.765Z","issues_count":1,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FMerovius%2Fdiff/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FMerovius%2Fdiff/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FMerovius%2Fdiff/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FMerovius%2Fdiff/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2FMerovius%2Fdiff/codemeta","maintainers":[]}