Function

Dexfile_set_display_name

unstable since: 1.2

Declaration [src]

DexFuture*
dex_file_set_display_name (
  GFile* file,
  const char* display_name,
  int io_priority
)

Description [src]

Available since: 1.2

Parameters

file

Type: GFile

A GFile.

The data is owned by the caller of the function.
display_name

Type: const char*

A new display name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
io_priority

Type: int

Priority for the IO operation.

Return value

Type: DexFuture

A DexFuture that resolves to the renamed GFile or rejects with error.

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