@@ -3,15 +3,15 @@ package ldifdiff
3
3
/* Types */
4
4
// Each Dn has an action (actionAdd, actionDelete, actionModify) and a set of subctions applied
5
5
// on the associated attributes;
6
- // - action actionAdd and actionDelete have no Subactions (typed as 1 Subaction subActionNone) and
7
- // are expected to have only 1 set of attributes. actionAdd will actionAdd the Dn with the
8
- // supplied attributes, while actionDelete will remove the Dn completely (supplied
6
+ // - action actionAdd and actionDelete have no subactions (typed as 1 subaction subActionNone) and
7
+ // are expected to have only 1 set of attributes. actionAdd will add the Dn with the
8
+ // supplied attributes, while actionDelete will delete the Dn completely (supplied
9
9
// attributes are ignored).
10
- // - action actionModify is more complex and has 3 types of Subactions (subActionModifyAdd,
11
- // subActionModifyDelete and ModifyUpdate ). A Dn with a actionModify action can have multiple
12
- // combinations of SubActions and associated attributes. In the case of the
13
- // subAction ModifyUpdate only 1 attribute is expected (rfc2849). This is done
14
- // in order to respect possible schema restrictions.
10
+ // - action actionModify is more complex and has 3 types of subactions (subActionModifyAdd,
11
+ // subActionModifyDelete and subActionModifyUpdate ). A Dn with a actionModify action can have
12
+ // multiple combinations of subActions and associated attributes. In the case of the
13
+ // subAction ModifyUpdate, the attribute must be unique in order to to respect possible
14
+ // schema restrictions (rfc2849) .
15
15
16
16
type action int
17
17
type subAction int
0 commit comments