libfuse3-0.2.0.1: A Haskell binding for libfuse-3.x
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.LibFuse3.FileSystemStats

Description

struct statvfs in Haskell.

Synopsis

Documentation

data FileSystemStats Source #

Passed to fuseStatfs.

The Storable instance targets C struct statvfs.

f_favail, f_fsid and f_flag fields are ignored by libfuse, and their corresponding fields are not defined.

Constructors

FileSystemStats 

Fields

getFileSystemStats Source #

Arguments

:: FilePath

A path of any file within the filesystem

-> IO FileSystemStats 

Gets filesystem statistics.

Calls statvfs.

getFileSystemStatsFd :: Fd -> IO FileSystemStats Source #

Gets filesystem statistics.

Calls fstatvfs.