Skip to content

Commit

Permalink
doc UPDATE clarify state list creation for lyd_new_path
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Jan 16, 2025
1 parent c88e28e commit 171a0e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tree_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -1554,8 +1554,8 @@ LIBYANG_API_DECL LY_ERR lyd_new_attr2(struct lyd_node *parent, const char *modul
* and @p value is set, the predicate is preferred.
*
* For key-less lists, positional predicates must be used (indices starting from 1). For non-configuration leaf-lists
* either positional predicate can be used or leaf-list predicate, when an instance is always created at the end.
* If no predicate is used for these nodes, they are always created.
* (or lists) either positional predicate can be used or leaf-list (or key) predicate, when an instance is always
* created at the end. If no predicate is used for these nodes, they are always created.
*
* @param[in] parent Data parent to add to/modify, can be NULL. Note that in case a first top-level sibling is used,
* it may no longer be first if @p path is absolute and starts with a non-existing top-level node inserted
Expand Down

0 comments on commit 171a0e8

Please sign in to comment.