class Gio::UnixMountEntry

Overview

Defines a Unix mount entry (e.g. /media/cdrom). This corresponds roughly to a mtab entry.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/unix_mount_entry.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

Class Method Detail

def self.at(mount_path : String) : Gio::UnixMountEntry | Nil #

def self.for(file_path : String) : Gio::UnixMountEntry | Nil #

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def compare(mount2 : Gio::UnixMountEntry) : Int32 #

def copy : Gio::UnixMountEntry #

def device_path : Path #

def finalize #

def free : Nil #

def fs_type : String #

def guess_can_eject : Bool #

def guess_icon : Gio::Icon #

def guess_name : String #

def guess_should_display : Bool #

def guess_symbolic_icon : Gio::Icon #

def is_readonly : Bool #

def is_system_internal : Bool #

def mount_path : Path #

def options : String | Nil #

def root_path : String | Nil #

def to_unsafe : Pointer(Void) #