checkNoteInList checks if the given syncList contains the note with the given uuid
(uuid string, list *syncList)
| 517 | |
| 518 | // checkNoteInList checks if the given syncList contains the note with the given uuid |
| 519 | func checkNoteInList(uuid string, list *syncList) bool { |
| 520 | if _, ok := list.Notes[uuid]; ok { |
| 521 | return true |
| 522 | } |
| 523 | |
| 524 | if _, ok := list.ExpungedNotes[uuid]; ok { |
| 525 | return true |
| 526 | } |
| 527 | |
| 528 | return false |
| 529 | } |
| 530 | |
| 531 | // checkBookInList checks if the given syncList contains the book with the given uuid |
| 532 | func checkBookInList(uuid string, list *syncList) bool { |
no outgoing calls