struct

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)
Source

Instance methods

bavail
Source
bavail=(bavail : UInt64)
Source
bfree
Source
bfree=(bfree : UInt64)
Source
blocks
Source
blocks=(blocks : UInt64)
Source
bsize
Source
bsize=(bsize : UInt64)
Source
favail
Source
favail=(favail : UInt64)
Source
ffree
Source
ffree=(ffree : UInt64)
Source
files
Source
files=(files : UInt64)
Source
flag
Source
flag=(flag : UInt64)
Source
frsize
Source
frsize=(frsize : UInt64)
Source
namemax
Source
namemax=(namemax : UInt64)
Source