Function ostree_rank

Function Documentation

int ostree_rank(const struct bstree *tree, const struct ostree_node *node)

Get the rank of an element within an ostree.

Parameters:
  • tree – The OStree handle.

  • node – The node to get the rank of.

Returns:

The rank, or -1 on ERROR.