Function glib::build_pathv[][src]

pub fn build_pathv(separator: &str, args: &[&Path]) -> PathBuf
Expand description

Behaves exactly like g_build_path(), but takes the path elements as a string array, instead of varargs. This function is mainly meant for language bindings.

separator

a string used to separator the elements of the path.

args

None-terminated array of strings containing the path elements.

Returns

a newly-allocated string that must be freed with g_free().