{"id":13400757,"url":"https://github.com/hanwen/go-fuse","last_synced_at":"2025-05-14T07:07:35.139Z","repository":{"id":1262215,"uuid":"1201108","full_name":"hanwen/go-fuse","owner":"hanwen","description":"FUSE bindings for Go","archived":false,"fork":false,"pushed_at":"2025-05-03T17:27:13.000Z","size":7011,"stargazers_count":2151,"open_issues_count":31,"forks_count":346,"subscribers_count":45,"default_branch":"master","last_synced_at":"2025-05-07T06:38:32.222Z","etag":null,"topics":["filesystem","fuse","fuse-libraries","libfuse"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanwen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2010-12-27T18:49:26.000Z","updated_at":"2025-05-03T17:27:17.000Z","dependencies_parsed_at":"2023-02-19T04:15:30.230Z","dependency_job_id":"f61e217c-9ee5-4c0c-b10a-62a15eba5b1e","html_url":"https://github.com/hanwen/go-fuse","commit_stats":{"total_commits":1974,"total_committers":67,"mean_commits":29.46268656716418,"dds":"0.18844984802431608","last_synced_commit":"fc0fdbf6a622bd76c1f8f7c3cd9a09617fbbefb2"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwen%2Fgo-fuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwen%2Fgo-fuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwen%2Fgo-fuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwen%2Fgo-fuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanwen","download_url":"https://codeload.github.com/hanwen/go-fuse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092648,"owners_count":22013290,"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":["filesystem","fuse","fuse-libraries","libfuse"],"created_at":"2024-07-30T19:00:55.162Z","updated_at":"2025-05-14T07:07:35.101Z","avatar_url":"https://github.com/hanwen.png","language":"Go","funding_links":[],"categories":["KSP","Go","Go (134)","Libraries"],"sub_categories":["Mini Program","Kafka"],"readme":"# Go-FUSE\n\n[![CI](https://github.com/hanwen/go-fuse/actions/workflows/ci.yml/badge.svg)](https://github.com/hanwen/go-fuse/actions/workflows/ci.yml)\n[![GoDoc](https://godoc.org/github.com/hanwen/go-fuse/v2/fs?status.svg)](https://godoc.org/github.com/hanwen/go-fuse/v2/fs)\n\nGo native bindings for the FUSE kernel module.\n\nUse\n[github.com/hanwen/go-fuse/v2/fs](https://godoc.org/github.com/hanwen/go-fuse/v2/fs)\nlibrary.  It follows the wire protocol closely, but provides\nconvenient abstractions for building both node and path based file\nsystems\n\n## Release notes\n\nv2.7\n\n* fuse, fs: support STATX\n\nv2.6\n\n* general:\n  * drop support for go1.16 \n* fuse:\n  * FreeBSD support\n  * passthrough support for increased performance\n  * DirEntryList.Offset and DirEntry.Off are visible now; add DirEntry.Parse \n* fs:\n  * new directory API, supporting caching and file handles for Readdir and FsyncDir \n  * passthrough support for increased performance\n  * allow LoopbackNode to be used as non-root\n  * OnForget method\n\nv2.5\n\n* Support for RenameExchange on Darwin\n\n\n## Comparison with other FUSE libraries\n\nFurther highlights of this library is\n\n* Comprehensive and up to date protocol support (up to 7.12.28).\n\n* Performance that is competitive with libfuse.\n\n\n## Examples\n\n* [example/hello/](example/hello/main.go) contains a 60-line \"hello world\" filesystem\n\n* [zipfs/zipfs](zipfs/zipfs.go) contains a small and simple read-only filesystem for\n  zip and tar files. The corresponding command is in example/zipfs/\n  For example,\n\n  ```shell\n  mkdir /tmp/mountpoint\n  example/zipfs/zipfs /tmp/mountpoint file.zip \u0026\n  ls /tmp/mountpoint\n  fusermount -u /tmp/mountpoint\n  ````\n\n* [zipfs/multizipfs](zipfs/multizipfs.go) shows how to use combine\n  simple Go-FUSE filesystems into a larger filesystem.\n\n* [example/loopback](example/loopback/main.go) mounts another piece of the filesystem.\n  Functionally, it is similar to a symlink.  A binary to run is in\n  example/loopback/ . For example\n\n  ```shell\n  mkdir /tmp/mountpoint\n  example/loopback/loopback -debug /tmp/mountpoint /some/other/directory \u0026\n  ls /tmp/mountpoint\n  fusermount -u /tmp/mountpoint\n  ```\n\n## macOS Support\n\nThe main developer (hanwen@) does not own a Mac to test, but accepts\npatches to make Go-FUSE work on Mac.\n\n* All of the limitations of OSXFUSE, including lack of support for\n  NOTIFY.\n\n* OSX issues STATFS calls continuously (leading to performance\n  concerns).\n\n* OSX has trouble with concurrent reads from the FUSE device, leading\n  to performance concerns.\n\n* Tests are expected to pass; report any failure as a bug!\n\n## Credits\n\n* Inspired by Taru Karttunen's package, https://bitbucket.org/taruti/go-extra.\n\n* Originally based on Ivan Krasin's https://github.com/krasin/go-fuse-zip\n\n## Bugs\n\nReport them through https://github.com/hanwen/go-fuse/issues. Please\ninclude a debug trace (set `fuse.MountOptions.Debug` to `true`).\n\n## License\n\nLike Go, this library is distributed under the new BSD license.  See\naccompanying LICENSE file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanwen%2Fgo-fuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanwen%2Fgo-fuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanwen%2Fgo-fuse/lists"}