tronkko/dirent
C/C++ library for retrieving information on files and directories observed · 2026-08-28
Health v2 · maintenance only
40/100
- Activity 31
- Release rhythm 16
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 100
- age_days: 3996
- days_rel: 414
- days_push: 414
- n_releases_24m: 2
Adoption not part of the score
1186 stars · 510 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A C/C++ library that provides the UNIX dirent.h programming interface for retrieving information about files and directories on Microsoft Windows. It lets applications scan directories with a single codebase across Windows and Linux/UNIX.
Use cases
- list files in a directory on Windows
- port Linux directory-scanning code to Windows
- cross-platform file and directory traversal in C/C++
- enumerate directory entries with Visual Studio
- replace Windows FindFirstFile with POSIX-style API
- scan folders recursively in a C program
When to choose
- you need POSIX dirent.h functionality on Windows or Visual Studio
- you want one codebase for directory scanning on both Windows and UNIX-like systems
- you prefer a small, header-based MIT-licensed solution
When to avoid
- you only target Linux/UNIX, where the native dirent.h already exists
- you need higher-level filesystem features like permissions or metadata beyond directory listing
- you are using C++17 and can rely on std::filesystem instead
Facets
library · maturity stable
file-system developer-tools cross-platform files windows cpp c dirent posix-compatibility directory-scanning cmake linux
1 source
- readme: https://github.com/tronkko/dirent · fetched 2026-08-28 · eb71c39bfa20
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tronkko/dirent | main | 40 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem