{"id":19307799,"url":"https://github.com/sger/go-hashdir","last_synced_at":"2025-06-26T05:02:04.679Z","repository":{"id":144200868,"uuid":"53513351","full_name":"sger/go-hashdir","owner":"sger","description":"Hash a directory path","archived":false,"fork":false,"pushed_at":"2016-04-15T16:21:23.000Z","size":6,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T13:39:44.947Z","etag":null,"topics":["go","go-programming","golang","hash"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-03-09T16:31:32.000Z","updated_at":"2025-02-08T09:28:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"22747b0c-1d63-4770-b3ab-834c42047db7","html_url":"https://github.com/sger/go-hashdir","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sger/go-hashdir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sger%2Fgo-hashdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sger%2Fgo-hashdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sger%2Fgo-hashdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sger%2Fgo-hashdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sger","download_url":"https://codeload.github.com/sger/go-hashdir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sger%2Fgo-hashdir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262003914,"owners_count":23243345,"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":["go","go-programming","golang","hash"],"created_at":"2024-11-10T00:12:34.791Z","updated_at":"2025-06-26T05:02:04.647Z","avatar_url":"https://github.com/sger.png","language":"Go","readme":"[![Build Status](https://travis-ci.org/sger/go-hashdir.svg?branch=master)](https://travis-ci.org/sger/go-hashdir)\n[![Coverage Status](https://coveralls.io/repos/github/sger/go-hashdir/badge.svg?branch=master)](https://coveralls.io/github/sger/go-hashdir?branch=master)\n\n# go-hashdir\n\nSimple package for hashing directory strings \n\n```\npackage main\n\nimport (\n\t\"fmt\"\n\thashdir \"github.com/sger/go-hashdir\"\n)\n\nfunc main() {\n\n\t// Choose sha1 or sha256 hashing algorithms\n\thash, err := hashdir.Create(\"test/directory\", \"md5\")\n\tfmt.Println(hash) // returns d41d8cd98f00b204e9800998ecf8427e\n}\n```\n\nTesting\n-----\n\n```ruby\n$ go test -v\n```\n\nAuthor\n-----\n\n__Spiros Gerokostas__ \n\n- [![](https://img.shields.io/badge/twitter-sger-brightgreen.svg)](https://twitter.com/sger) \n- :email: spiros.gerokostas@gmail.com\n\nLicense\n-----\n\ngo-hashdir is available under the MIT license. See the LICENSE file for more info.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsger%2Fgo-hashdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsger%2Fgo-hashdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsger%2Fgo-hashdir/lists"}