Sise.Discovery.diff

You're seeing just the function diff, go back to Sise.Discovery module for more information.

Specs

diff(t(), t()) :: [{atom(), String.t(), String.t()}]

Computes a diff between two Discovery structs

Given two Discovery structs this method will compute a diff. The returned list will contain 3-tuples where

  • the first entry is the Discovery's key whose values differ in both structs
  • the second entry is the value of left and
  • the third entry is the value of right

If the returned list is empty it means that the two given structs are equal.