{"id":25651585,"url":"https://github.com/breakroom/tree_walker","last_synced_at":"2025-02-23T17:17:47.368Z","repository":{"id":65332556,"uuid":"586297188","full_name":"breakroom/tree_walker","owner":"breakroom","description":"Stream based Elixir library to recursively walk through a directory tree","archived":false,"fork":false,"pushed_at":"2023-01-09T16:47:53.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-19T06:48:23.125Z","etag":null,"topics":["elixir","filesystem"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/breakroom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-07T16:32:41.000Z","updated_at":"2023-01-16T00:16:42.000Z","dependencies_parsed_at":"2023-02-08T12:50:18.687Z","dependency_job_id":null,"html_url":"https://github.com/breakroom/tree_walker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breakroom%2Ftree_walker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breakroom%2Ftree_walker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breakroom%2Ftree_walker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/breakroom%2Ftree_walker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/breakroom","download_url":"https://codeload.github.com/breakroom/tree_walker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240261481,"owners_count":19773474,"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":["elixir","filesystem"],"created_at":"2025-02-23T17:17:46.826Z","updated_at":"2025-02-23T17:17:47.356Z","avatar_url":"https://github.com/breakroom.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TreeWalker\n\nTreeWalker is an Elixir library to recursively walk through directories,\nstreaming the file paths discovered as it goes.\n\nIt can optionally skip directories or return `File.Stat` structs if enabled.\n\nThe full documentation is available at \u003chttps://hexdocs.pm/tree_walker\u003e.\n\n## Installation\n\nThe package can be installed by adding `tree_walker` to your list of\ndependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:tree_walker, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Example usages\n\nTo find all the `.json` files in a repo, skipping the `.git` directory, you\nmight do something like:\n\n```elixir\nTreeWalker.stream(path, skip_dir: \u0026String.ends_with?(\u00261, \".git\"))\n|\u003e Stream.filter(\u0026String.ends_with?(\u00261, \".json\"))\n|\u003e Enum.to_list()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreakroom%2Ftree_walker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbreakroom%2Ftree_walker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbreakroom%2Ftree_walker/lists"}