Trees | Indices | Help |
|
---|
|
object --+ | DiffData --+ | ConfigDiffer
Compares two configuration objects and allows retrieval of differences
Use this class to find added/removed sections or keys or differences in values and properties.
- DiffSection.added|removed|unchanged: Key objects that have been added, removed or kept unchanged respectively
- DiffSection.changed: DiffKey objects that indicate the changes in the repsective key
- DiffKey.added|removed: the key's values that have been added and/or removed respectively
- DiffKey.properties: see DiffSection.properties
- DiffSection.properties:None if this is a section diff, otherwise it contains a DiffSection with the respective differences
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
|
|||
Inherited from Inherited from |
|
|
To Do: make this algo work on sets instead of individual sections for performance |
|
Apply the stored differences in this ConfigDiffer instance to the given ConfigAccessor If our diff contains the changes of A to B, then applying ourselves to A would make A equal B.
Note: individual nodes reqpresenting an input source (like a file) can be marked read-only. This means they cannot be altered - thus it can be that section or key removal fails for them. Addition of elements normally works as long as there is one writable node. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Apr 19 18:00:12 2011 | http://epydoc.sourceforge.net |