Function

Foundryfile_canonicalize_await

Declaration [src]

DexFuture*
foundry_file_canonicalize_await (
  GFile* file
)

Description [src]

Canonicalize file as if via realpath(), raising an error if it doesn’t exist or otherwise isn’t accessible.

Parameters

file

Type: GFile

A GFile.

The data is owned by the caller of the function.

Return value

Type: DexFuture

A future that resolves to a GFile for the realpath() of file.

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