forked from tthuem/VariantSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Deltas
jeremiaheinle edited this page Apr 20, 2021
·
13 revisions
IDelta
-> ADelta
-> DefaultDelta
IDeltaFactory
-> DefaultDeltaFactory
DeltaFactoryManager
{ IDeltaFactory
}
DiffException
Deltas store the changes of files. Along with Information about the File and FeatureContext.
Deltas get created in the DefaultDeltaFactory
, with the help of github.difflib and HistoryStore
(which stores the previous contents of a file).
DefaultDeltaFactory
gets used inside of the class ResourceChangeHandler
. Inside of the methods handleAdd\Change\RemoveResources
. Demonstrated in changePropagation.
There is one DefaultDeltaFactory
per File.
DiffException
gets thrown inside of DefaultDeltaFactory
.