{"id":15152866,"url":"https://github.com/ipfs/go-unixfs","last_synced_at":"2025-09-30T01:31:12.236Z","repository":{"id":34010453,"uuid":"142928619","full_name":"ipfs/go-unixfs","owner":"ipfs","description":"Implementation of a unix-like filesystem on top of an ipld merkledag","archived":true,"fork":false,"pushed_at":"2023-06-14T11:14:19.000Z","size":26877,"stargazers_count":106,"open_issues_count":4,"forks_count":53,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-12-04T00:09:03.130Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipfs.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":"2018-07-30T21:11:27.000Z","updated_at":"2024-11-04T23:59:50.000Z","dependencies_parsed_at":"2024-06-18T12:33:49.345Z","dependency_job_id":"e9f9b409-d0b8-4456-989c-474f47313b2f","html_url":"https://github.com/ipfs/go-unixfs","commit_stats":null,"previous_names":[],"tags_count":127,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fgo-unixfs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fgo-unixfs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fgo-unixfs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fgo-unixfs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfs","download_url":"https://codeload.github.com/ipfs/go-unixfs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234681056,"owners_count":18870862,"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-09-26T16:40:50.447Z","updated_at":"2025-09-30T01:31:11.915Z","avatar_url":"https://github.com/ipfs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"go-unixfs\n==================\n\n\u003e go-unixfs implements unix-like filesystem utilities on top of an ipld merkledag\n\n[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)\n[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)\n[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)\n[![Coverage Status](https://codecov.io/gh/ipfs/go-unixfs/branch/master/graph/badge.svg)](https://codecov.io/gh/ipfs/go-unixfs/branch/master)\n[![Travis CI](https://travis-ci.org/ipfs/go-unixfs.svg?branch=master)](https://travis-ci.org/ipfs/go-unixfs)\n\n## ❗ This repo is no longer maintained.\n\n👉 We highly recommend switching to the maintained version at https://github.com/ipfs/boxo/tree/main/ipld/unixfs.\n\n🏎️ Good news!  There is [tooling and documentation](https://github.com/ipfs/boxo#migrating-to-boxo) to expedite a switch in your repo. \n\n⚠️ If you continue using this repo, please note that security fixes will not be provided (unless someone steps in to maintain it).\n\n📚 Learn more, including how to take the maintainership mantle or ask questions, [here](https://github.com/ipfs/boxo/wiki/Copied-or-Migrated-Repos-FAQ).\n\n## Table of Contents\n\n- [Directory](#directory)\n- [Install](#install)\n- [License](#license)\n\n## Package Directory\nThis package contains many subpackages, each of which can be very large on its own.\n\n### Top Level\nThe top level unixfs package defines the unixfs format datastructures, and some helper methods around it.\n\n### importers\nThe `importer` subpackage is what you'll use when you want to turn a normal file into a unixfs file.\n\n### io\nThe `io` subpackage provides helpers for reading files and manipulating directories. The `DagReader` takes a\nreference to a unixfs file and returns a file handle that can be read from and seeked through. The `Directory`\ninterface allows you to easily read items in a directory, add items to a directory, and do lookups.\n\n### mod\nThe `mod` subpackage implements a `DagModifier` type that can be used to write to an existing unixfs file, or\ncreate a new one. The logic for this is significantly more complicated than for the dagreader, so its a separate\ntype. (TODO: maybe it still belongs in the `io` subpackage though?)\n\n### hamt\nThe `hamt` subpackage implements a CHAMP hamt that is used in unixfs directory sharding.\n\n### archive\nThe `archive` subpackage implements a `tar` importer and exporter. The objects created here are not officially unixfs,\nbut in the future, this may be integrated more directly.\n\n### test\nThe `test` subpackage provides several utilities to make testing unixfs related things easier.\n\n## Install\n\n```sh\ngo get github.com/ipfs/go-unixfs\n```\n\n## License\n\nMIT © Juan Batiz-Benet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs%2Fgo-unixfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfs%2Fgo-unixfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs%2Fgo-unixfs/lists"}