예제 #1
0
 /// <summary>
 /// Diff weak fingerprints.
 /// </summary>
 public JObject DiffWeakFingerprint(PipRecordingSession otherSession) =>
 AugmentWithSessionInfo(
     JsonFingerprintDiff.DiffWeakFingerprints(
         WeakFingerprint,
         GetWeakFingerprintTree(),
         otherSession.WeakFingerprint,
         otherSession.GetWeakFingerprintTree()));
예제 #2
0
 /// <summary>
 /// Diff strong fingerprints.
 /// </summary>
 public JObject DiffStrongFingerprint(PipRecordingSession otherSession) =>
 JsonFingerprintDiff.DiffStrongFingerprints(
     StrongFingerprint,
     GetPathSetTree(),
     GetStrongFingerpintInputTree(),
     otherSession.StrongFingerprint,
     otherSession.GetPathSetTree(),
     otherSession.GetStrongFingerpintInputTree(),
     directoryMembershipHash => GetDirectoryMembership(m_store, directoryMembershipHash),
     otherDirectoryMembershipHash => GetDirectoryMembership(otherSession.m_store, otherDirectoryMembershipHash));
예제 #3
0
 /// <summary>
 /// Diff pathsets.
 /// </summary>
 public JObject DiffPathSet(PipRecordingSession otherSession) =>
 AugmentWithSessionInfo(
     JsonFingerprintDiff.DiffPathSets(
         PathSetHash,
         GetPathSetTree(),
         GetStrongFingerpintInputTree(),
         otherSession.PathSetHash,
         otherSession.GetPathSetTree(),
         otherSession.GetStrongFingerpintInputTree(),
         directoryMembershipHash => GetDirectoryMembership(m_store, directoryMembershipHash),
         otherDirectoryMembershipHash => GetDirectoryMembership(otherSession.m_store, otherDirectoryMembershipHash)));