directory
directory copied to clipboard
Platform-independent library for basic file system operations
``` #!/usr/bin/env -S cabal run {- cabal: build-depends: base >=4.17 && =1.3.8 , filepath >=1.4.100 , time default-language: GHC2021 ghc-options: -O2 -} import System.OsPath import System.Directory.OsPath (getModificationTime) import Control.Monad main...
Looks like CI needs some update... https://github.com/haskell/directory/blob/6442a3cf04f74d82cdf8c9213324313d52b23d28/.github/workflows/build.yml#L17-L27 - `macos-13` is deprecated and will disappear in December. There is `macos-15-intel` if one wants to test on x86 rather than arm. -...
copyFile opens a temporary file without setting the close-on-exec flag. So if another thread execs a process at the same time, the process can inherit an open FD to a...
https://github.com/haskell/cabal/issues/10938 https://github.com/haskell/win32/pull/240