This project is mirrored from https://github.com/haskell/unix.
Pull mirroring updated .
- May 10, 2025
-
-
Julian Ospald authored
- May 06, 2025
-
-
Joris Dral authored
-
- Apr 30, 2025
-
-
`stage1` cross compilers could use different values instead of system-defined. GHC JS Backend change these constants to be compatible with Node.js environment.
- Jan 07, 2025
-
-
Julian Ospald authored
-
- Jan 06, 2025
-
-
Julian Ospald authored
-
Julian Ospald authored
-
- Jan 05, 2025
-
-
Julian Ospald authored
-
Julian Ospald authored
-
-
- Jan 04, 2025
-
-
Julian Ospald authored
-
- Dec 27, 2024
-
-
Julian Ospald authored
-
- Dec 21, 2024
-
- Nov 20, 2024
-
-
- Nov 19, 2024
-
-
-
This reverts commit e530dcb7.
-
-
-
-
-
Julian Ospald authored
-
Julian Ospald authored
-
Julian Ospald authored
-
- Jun 26, 2024
-
-
This is useless at best, and a common source of confusion. https://github.com/haskell/cabal/pull/10145 https://github.com/sol/hpack/issues/355
-
- Jun 24, 2024
-
-
-
-
-
-
-
* Changed the assignment of values for missing DT_* constants. Since the 'd_type' field is of type 'unsigned char' we assign a negative number for each missing DT_* constant so they are distinguishable but do not collide with the values from the libc implementation. * Added a new 'DirStreamWithPath' that contains the path of the directory the directory stream belongs to. * 'readDirStreamWithType' falls back to a 'stat' if the 'd_type' is unknown or undetermined. * Added some tests for 'readDirStreamWithType'.
-
-
-
-
-
* Added `readDirStream`/`readDirStream` for ByteString, PosixPath * Removed `DirEnt`, `readDirStreamWith`, `readDirStreamWithPtr` from public API
-
-
This version of `readDirStreamWith` takes a pre-allocated pointer as an additional argument that is used to store the pointer to the dirent. It is useful when you want to read a lot of entries and want to safe a few allocations since you can reuse the pointer for each call to `readDirStreamWithPtr`.
-
This commit exposes the dirent pointer used in the directory stream functions wrapped in a newtype called `DirEnt`. It also adds a new function `readDirStreamWith` that takes a callback that is used to obtain the result from the pointer to the directory entry.
-