{"id":33926483,"url":"https://github.com/travisbrown/prefix-file-tree","last_synced_at":"2025-12-12T10:18:09.026Z","repository":{"id":323389382,"uuid":"1093008637","full_name":"travisbrown/prefix-file-tree","owner":"travisbrown","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-09T20:50:28.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-09T22:20:33.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/travisbrown.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-09T18:23:50.000Z","updated_at":"2025-11-09T20:50:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/travisbrown/prefix-file-tree","commit_stats":null,"previous_names":["travisbrown/prefix-file-tree"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/travisbrown/prefix-file-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travisbrown%2Fprefix-file-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travisbrown%2Fprefix-file-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travisbrown%2Fprefix-file-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travisbrown%2Fprefix-file-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/travisbrown","download_url":"https://codeload.github.com/travisbrown/prefix-file-tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/travisbrown%2Fprefix-file-tree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27680699,"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-12-12T02:00:06.775Z","response_time":129,"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":[],"created_at":"2025-12-12T10:18:06.744Z","updated_at":"2025-12-12T10:18:09.011Z","avatar_url":"https://github.com/travisbrown.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prefix-file-tree\n\n[![Rust build status](https://img.shields.io/github/actions/workflow/status/travisbrown/prefix-file-tree/ci.yaml?branch=main)](https://github.com/travisbrown/prefix-file-tree/actions)\n[![Coverage status](https://img.shields.io/codecov/c/github/travisbrown/prefix-file-tree/main.svg)](https://codecov.io/github/travisbrown/prefix-file-tree)\n\nA small Rust library that provides a way to store many files in a predictable nested directory structure\n(see [\"Pairtrees for Object Storage\"][pairtree] for an explanation of the motivation and general idea).\n\nFor example, suppose you want to store a set of files by taking the SHA-1 hash of their contents and using\nthe Base32 encoding as file names. If you have many millions of files to store, it may be impractical to\nkeep them in a single directory.\nThis library gives you an easy way to rewrite a file name like `MFRGGZC7MFRGGZC7MFRGGZC7MVTGO2C7`\nas `MFR/GG/MFRGGZC7MFRGGZC7MFRGGZC7MVTGO2C7`, and to iterate over the contents of a directory structure like\nthis in order (even when the hash order doesn't match the ASCII order, as in the case of Base32).\n\n[pairtree]: https://datatracker.ietf.org/doc/html/draft-kunze-pairtree-01","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravisbrown%2Fprefix-file-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftravisbrown%2Fprefix-file-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftravisbrown%2Fprefix-file-tree/lists"}