diffDocuments function

List<Operation> diffDocuments(
  1. Document oldDocument,
  2. Document newDocument
)

Implementation

List<Operation> diffDocuments(Document oldDocument, Document newDocument) {
  return diffNodes(oldDocument.root, newDocument.root);
}