{"id":16743952,"url":"https://github.com/zshipko/seqdir","last_synced_at":"2025-08-19T10:08:44.939Z","repository":{"id":79821417,"uuid":"485579121","full_name":"zshipko/seqdir","owner":"zshipko","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-26T02:18:12.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-22T14:08:09.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zshipko.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-26T00:29:52.000Z","updated_at":"2022-04-26T12:58:35.000Z","dependencies_parsed_at":"2023-09-14T03:17:38.346Z","dependency_job_id":null,"html_url":"https://github.com/zshipko/seqdir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fseqdir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fseqdir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fseqdir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zshipko%2Fseqdir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zshipko","download_url":"https://codeload.github.com/zshipko/seqdir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809884,"owners_count":20351407,"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-10-13T01:42:03.892Z","updated_at":"2025-03-16T01:12:41.079Z","avatar_url":"https://github.com/zshipko.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seqdir\n\nAn OCaml package for recursively listing files\n\n## Installation\n\nUsing opam:\n\n```shell\n$ opam pin add git+https://github.com/zshipko/seqdir\n```\n\n## Usage\n\n`Seqdir.list` can be used to generate a sequence of filenames. For example, to list recursively all files in `/tmp`:\n\n```ocaml\nlet () =\n  let filenames =\n    Seqdir.list \"/tmp\"\n    |\u003e Seq.map Seqdir.Entry.filename\n  in\n  Seq.iter print_endline filenames\n```\n\nIt's also possible to limit the depth using the optional `max_depth` parameter:\n\n```ocaml\nSeqdir.list ~max_depth:1 \"/tmp\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Fseqdir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzshipko%2Fseqdir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzshipko%2Fseqdir/lists"}