Skip to content

Commit 93d304e

Browse files
authored
Documentation
1 parent 74f0b45 commit 93d304e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

types.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ package ldifdiff
33
/* Types */
44
// Each Dn has an action (actionAdd, actionDelete, actionModify) and a set of subctions applied
55
// 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
99
// 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).
1515

1616
type action int
1717
type subAction int

0 commit comments

Comments
 (0)