haskell / unix

POSIX functionality
https://hackage.haskell.org/package/unix
Other
107 stars 92 forks source link

Add statx #297

Closed hasufell closed 1 year ago

hasufell commented 1 year ago

TODO:

hasufell commented 1 year ago
ghci> import System.Posix.Files.ByteString
ghci> :set -XOverloadedStrings
ghci> exStatus <- getExtendedFileStatus Nothing "/home/hasufell/git/unix/unix.cabal" defaultStatxFlags defaultStatxMask
ghci> fileSizeX exStatus
9318

Seems to somewhat work.