Function extract_note_content

Source
pub(super) fn extract_note_content(note: &NoteCredential) -> String
Expand description

Extract note content from a CXF Note credential The way notes are handled (in import.rs) depends on their context:

  • If part of an item, use parent type and map content to Cipher::notes
  • If standalone, map to SecureNote

That’s why we only have this small utility function and tests here.