ldif-0.0.12: The LDAP Data Interchange Format (LDIF) tools

Safe HaskellSafe-Inferred

Text.LDIF.Tree

Description

LDIF representation in Data.Tree structure

Synopsis

Documentation

toTree :: LDIF -> Bool -> Tree LDIFRecordSource

Convert LDIF to Tree of Records using their DNs. Can insert dummy parents.

fromTree :: Tree LDIFRecord -> LDIFSource

Flatten Tree of Records to LDIF

sortTreeByName :: Tree LDIFRecord -> Tree LDIFRecordSource

Sort recursively children Records by DNs