memoryTextFingerprint function

String memoryTextFingerprint(
  1. String text
)

Computes a stable fingerprint of a record text for tombstone bookkeeping.

Normalizes the text first, so a deleted record blocks re-capture of the same content regardless of whitespace, casing, or bullet prefixes.

Implementation

String memoryTextFingerprint(String text) =>
    revisionHash(normalizeMemoryText(text));