create_from_treeinfo


Description:

[ Version ( since = "1.7.0" ) ]
public static Tree create_from_treeinfo (string treeinfo, string location) throws Error

Creates a new Tree for installation tree represented by treeinfo.

Parameters:

treeinfo

a string representing the .treeinfo content

location

the location of the original treeinfo

Returns:

a new Tree, or NULL on error