PathBuf.clear

void clear()

Clears the contents of the path buffer.

This function should be use to free the resources in a stack-allocated [glib.path_buf.PathBuf] initialized using [glib.path_buf.PathBuf.init_] or [glib.path_buf.PathBuf.initFromPath].