PathBuf.freeToPath

string freeToPath()

Frees a [glib.path_buf.PathBuf] allocated by [glib.path_buf.PathBuf.new_], and returns the path inside the buffer.

This function returns NULL if the [glib.path_buf.PathBuf] is empty.

See also: [glib.path_buf.PathBuf.toPath]

Returns

the path