{"id":24967072,"url":"https://github.com/software-mansion-labs/elixir-xattr","last_synced_at":"2026-04-15T18:01:39.330Z","repository":{"id":57557178,"uuid":"97211023","full_name":"software-mansion-labs/elixir-xattr","owner":"software-mansion-labs","description":"Elixir library for accessing and manipulating custom extended filesystem attributes","archived":false,"fork":false,"pushed_at":"2020-09-16T22:02:28.000Z","size":44,"stargazers_count":1,"open_issues_count":3,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-01-14T07:33:58.471Z","etag":null,"topics":["elixir","xattr"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/xattr","language":"C","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/software-mansion-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-14T08:22:11.000Z","updated_at":"2024-05-20T02:23:48.000Z","dependencies_parsed_at":"2022-09-07T22:23:56.866Z","dependency_job_id":null,"html_url":"https://github.com/software-mansion-labs/elixir-xattr","commit_stats":null,"previous_names":["softwaremansion/elixir-xattr"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/software-mansion-labs/elixir-xattr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion-labs%2Felixir-xattr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion-labs%2Felixir-xattr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion-labs%2Felixir-xattr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion-labs%2Felixir-xattr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/software-mansion-labs","download_url":"https://codeload.github.com/software-mansion-labs/elixir-xattr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/software-mansion-labs%2Felixir-xattr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["elixir","xattr"],"created_at":"2025-02-03T12:37:02.294Z","updated_at":"2026-04-15T18:01:39.312Z","avatar_url":"https://github.com/software-mansion-labs.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir Xattr\n\n[![Hex.pm](https://img.shields.io/hexpm/v/xattr.svg)](https://hex.pm/packages/xattr)\n[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/xattr/)\n\nA library for accessing and manipulating **custom** [extended filesystem attributes](https://en.wikipedia.org/wiki/Extended_file_attributes). Main goals are to provide straightforward API and portability, both Windows (ADS) and Unix (xattr) platforms are supported.\n\nThis library doesn't aim to be general extended filesystem attributes library, because implementation details greately differ between supported platforms. Rather, it focuses on providing portable way for client application to store and read some metadata in files. Attributes are stored in isolation, in *xattr* backend in `user.ElixirXattr` namespace and in *Windows* backend in `ElixirXattr` data stream. For details see *Implementation* section in module docs.\n\n## Example\n\n```elixir\niex(1)\u003e File.touch!(\"foo.txt\")\n:ok\niex(2)\u003e Xattr.set(\"foo.txt\", \"hello\", \"world\")\n:ok\niex(3)\u003e Xattr.get(\"foo.txt\", \"hello\")\n{:ok, \"world\"}\niex(4)\u003e Xattr.set(\"foo.txt\", :atoms_also_work, \"bar\")\n:ok\niex(5)\u003e Xattr.ls(\"foo.txt\")\n{:ok, [\"hello\", :atoms_also_work]}\niex(6)\u003e Xattr.rm(\"foo.txt\", \"hello\")\n:ok\niex(7)\u003e Xattr.ls(\"foo.txt\")\n{:ok, [:atoms_also_work]}\n```\n\n## Installation\n\nThe package can be installed by adding `xattr` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:xattr, \"~\u003e 0.3\"}]\nend\n```\n\n\n## License\n\nSee the [LICENSE] file for license rights and limitations (MIT).\n\n[LICENSE]: https://github.com/SoftwareMansion/elixir-xattr/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftware-mansion-labs%2Felixir-xattr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftware-mansion-labs%2Felixir-xattr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftware-mansion-labs%2Felixir-xattr/lists"}