PathBuf.clearToPath

string clearToPath()

Clears the contents of the path buffer and returns the built path.

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

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

Returns

the built path