Class: Vertx::FSProps

Inherits:
Object
  • Object
show all
Defined in:
src/main/api_shim/core/file_system.rb

Overview

Represents the properties of a file system

Author:

Instance Method Summary (collapse)

Instance Method Details

- (FixNum) total_space

The total space on the file system, in bytes.

Returns:

  • (FixNum)
    The total space on the file system, in bytes.


81
82
83
# File 'src/main/api_shim/core/file_system.rb', line 81

def total_space
  @j_props.totalSpace
end

- (FixNum) unallocated_space

Unallocated space on the file system, in bytes.

Returns:

  • (FixNum)
    Unallocated space on the file system, in bytes.


86
87
88
# File 'src/main/api_shim/core/file_system.rb', line 86

def unallocated_space
  @j_props.unallocatedSpace
end

- (FixNum) usable_space

Usable space on the file system, in bytes.

Returns:

  • (FixNum)
    Usable space on the file system, in bytes.


91
92
93
# File 'src/main/api_shim/core/file_system.rb', line 91

def usable_space
  @j_props.usableSpace
end