Single Source of Truth
♾️

Single Source of Truth

Whenever you point NeuraCache to a folder via “Select Sync Folder” — NeuraCache will traverse all the markdown files every couple of hours, searching for cards.

Ideally, “Select Sync Folder” would point to a folder that becomes a source of truth — meaning that NeuraCache always reflects the state of that folder (creating/updating and deleting cards)

This is where “Single Source of Truth” setting comes to the rescue ❤️

  • Go to the “Cards” tab
  • tap the “Sources” icon in the top-right corner
  • tap “Single Source of Truth”

image

You have three options

None, never delete

New cards are created, existing ones updated but NeuraCache will never delete a card if it is missing in the observed folder.

Sync Folders, excluding imported

When this option is selected, NeuraCache will treat the folder set by “Select Sync Folder” as a source of truth and update/create/delete the cards to match what is in that folder.

However, if there are cards that were imported using either:

  • Import Markdown Folder
  • Import Markdown File

These cards will remain in the NeuraCache app — even if they are not present in the “Select Sync Folder” folder.

This approach allows you to import cards outside of Sync Folder from time to time — without losing them on the next sync process.

Sync Folder

When this option is selected, NeuraCache will treat the folder set by “Sync Folder” as a source of truth and update/create/delete the cards to match what is in that folder.

Cards that were imported using either:

  • Import Markdown Folder
  • Import Markdown File

will also be updated/created, or deleted during the next sync process.

This approach allows you to treat the Sync Folder as the only source of truth — no matter what 👌