identify_treelist


Description:

[ Version ( since = "1.10.0" ) ]
public TreeList identify_treelist (Tree tree)

Try to match a newly created tree with a tree description from this.

The return list will contain any Tree instances from this that matched tree. Usuaully there will only be one match returned, but applications should be prepared to deal with multiple matches. The returned Tree instances will have their OsinfoEntify: OsinfoDb:id and OsinfoTree:OsinfoDb:oss properties will be set, while tree is left unmodified.

Parameters:

this

an Db database

tree

the installation tree data

Returns:

a list containing any matches for tree found in this