Constructor

FwupdPluginVolumenew_esp_for_path

Declaration [src]

FuVolume*
fu_volume_new_esp_for_path (
  const gchar* esp_path,
  GError** error
)

Description [src]

Gets the platform ESP using a UNIX or UDisks path.

Available since:1.8.2

Parameters

esp_path const gchar*
 

A path to the ESP.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: FuVolume
 

A #volume, or NULL if the ESP was not found.

 The caller of the function takes ownership of the data, and is responsible for freeing it.