Gjsify LogoGjsify Logo

Defines a Unix mount point (e.g. /dev). This corresponds roughly to a fstab entry.

record

Hierarchy

  • UnixMountPoint

Index

Constructors

Properties

name: string

Methods

  • free(): void
  • getDevicePath(): string
  • getFsType(): string
  • Gets the file system type for the mount point.

    Returns string

  • getMountPath(): string
  • getOptions(): string
  • guessCanEject(): boolean
  • Guesses whether a Unix mount point can be ejected.

    Returns boolean

  • guessName(): string
  • Guesses the name of a Unix mount point. The result is a translated string.

    Returns string

  • isLoopback(): boolean
  • Checks if a unix mount point is a loopback device.

    Returns boolean

  • isReadonly(): boolean
  • isUserMountable(): boolean
  • Checks if a unix mount point is mountable by the user.

    Returns boolean

  • Gets a #GUnixMountPoint for a given mount path. If time_read is set, it will be filled with a unix timestamp for checking if the mount points have changed since with g_unix_mount_points_changed_since().

    If more mount points have the same mount path, the last matching mount point is returned.

    Parameters

    • mountPath: string

      path for a possible unix mount point.

    Returns [UnixMountPoint, number]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method