folder_info_build


Description:


[ Version ( replacement = "FolderInfo.build" ) ]
public FolderInfo folder_info_build (GenericArray<FolderInfo> folders, string namespace_, char separator, bool short_names)

This takes an array of folders and attaches them together according to the hierarchy described by their full_names and separator .

If namespace_ is non-null, then it will be ignored as a full_name prefix, for purposes of comparison. If necessary, folder_info_build will create additional FolderInfo with null urls to fill in gaps in the tree. The value of short_names is used in constructing the names of these intermediate folders.

Parameters:

folders

an array of FolderInfo

namespace_

an ignorable prefix on the folder names

separator

the hieararchy separator character

short_names

true if the (short) name of a folder is the part after the last separator in the full name. false if it is the full name.

Returns:

the top level of the tree of linked folder info.


Namespace: Camel
Package: camel-1.2



2022 vala-language.org