{"id":19658144,"url":"https://github.com/cdaringe/fswalk","last_synced_at":"2026-03-02T09:02:26.304Z","repository":{"id":217768222,"uuid":"744783335","full_name":"cdaringe/fswalk","owner":"cdaringe","description":"recursively walk the filesystem","archived":false,"fork":false,"pushed_at":"2025-12-13T05:32:01.000Z","size":24,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T19:28:10.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Gleam","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdaringe.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-01-18T01:54:01.000Z","updated_at":"2025-12-13T05:37:12.000Z","dependencies_parsed_at":"2024-03-01T20:31:41.866Z","dependency_job_id":"693b9be5-33e2-47e2-852a-f1ce7d72e696","html_url":"https://github.com/cdaringe/fswalk","commit_stats":null,"previous_names":["cdaringe/fswalk"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/cdaringe/fswalk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdaringe%2Ffswalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdaringe%2Ffswalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdaringe%2Ffswalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdaringe%2Ffswalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdaringe","download_url":"https://codeload.github.com/cdaringe/fswalk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdaringe%2Ffswalk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29996273,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":"2024-11-11T15:36:14.440Z","updated_at":"2026-03-02T09:02:26.292Z","avatar_url":"https://github.com/cdaringe.png","language":"Gleam","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fswalk\n\nRecursively walk the filesystem starting from the provided path.\n\n[![Package Version](https://img.shields.io/hexpm/v/fswalk)](https://hex.pm/packages/fswalk)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/fswalk/)\n\n```sh\ngleam add fswalk\n```\n\n```gleam\nimport fswalk\nimport gleam/yielder\n\npub fn main() {\n  fswalk.builder()\n  |\u003e fswalk.with_path(\"test/fixture\")\n  |\u003e fswalk.with_traversal_filter(fn(entry) {\n    !string.contains(does: entry.filename, contain: \"ignore_folder\")\n  })\n  |\u003e fswalk.walk\n  |\u003e yielder.fold([], fn(acc, it) {\n    case it {\n      Ok(entry) if !entry.stat.is_directory -\u003e [entry.filename, ..acc]\n      _ -\u003e acc\n    }\n  })\n  |\u003e should.equal([\"test/fixture/b/c/d\", \"test/fixture/a\"])\n}\n```\n\nFurther documentation can be found at \u003chttps://hexdocs.pm/fswalk\u003e.\n\n## Development\n\n```sh\ngleam run   # Run the project\ngleam test  # Run the tests\n```\n\n## changelog\n\n- 1.0.0 - init\n- 2.0.0 - support traverse filtering in tandem with entry filtering\n- 3.0.0\n  - dropped `.with_entry_filter`. Use `iterator.*` functions on the output instead.\n  - dropped sugar functions `.map/.each/.fold`. Use `iterator.*` functions on the output instead.\n- 3.0.3\n  - Use `yielder.*` functions on the output instead of `iterator.*`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdaringe%2Ffswalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdaringe%2Ffswalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdaringe%2Ffswalk/lists"}