GLib.build_pathv

function build_pathv(separator: String, args: Array(String)): String {
    // Gjs wrapper for g_build_pathv()
}
  

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

Since 2.8

separator

a string used to separator the elements of the path.

args

null-terminated array of strings containing the path elements.

Returns

a newly-allocated string that must be freed with GLib.free.