Fuse::StatVFS
Inherits Struct < Value < Object
Crystal-friendly filesystem statistics, returned from FileSystem#statfs.
The C shim marshals these into a struct statvfs (it owns the layout, which
differs across libc versions), so Crystal never touches that struct — this
struct is the "raw" escape hatch, covering every field you'd reach for.
Constructors
new(bsize : UInt64 = 4096, frsize : UInt64 = 4096, blocks : UInt64 = 0, bfree : UInt64 = 0, bavail : UInt64 = 0, files : UInt64 = 0, ffree : UInt64 = 0, favail : UInt64 = 0, namemax : UInt64 = 255, flag : UInt64 = 0)
SourceInstance methods
bavail
Sourcebavail=(bavail : UInt64)
Sourcebfree
Sourcebfree=(bfree : UInt64)
Sourceblocks
Sourceblocks=(blocks : UInt64)
Sourcebsize
Sourcebsize=(bsize : UInt64)
Sourcefavail
Sourcefavail=(favail : UInt64)
Sourceffree
Sourceffree=(ffree : UInt64)
Sourcefiles
Sourcefiles=(files : UInt64)
Sourceflag
Sourceflag=(flag : UInt64)
Sourcefrsize
Sourcefrsize=(frsize : UInt64)
Sourcenamemax
Sourcenamemax=(namemax : UInt64)
Source