ApiCoreFunctions
Function: reconcileFolder()
function reconcileFolder(
storage,
adapter,
accept?
): Promise<FolderReconciliation>;Defined in: packages/core/src/storage/folder-reconcile.ts:35
Re-reads the folder and brings the entries back in line with it. With nothing new on disk it is two listings and no writes.
Parameters
| Parameter | Type | Description |
|---|---|---|
storage | StorageProvider | - |
adapter | FolderAdapter | - |
accept? | (version) => Promise<boolean> | Whether a version found on disk may be placed: anyone who can write the folder can drop a file in it. One refused now is asked about again. |
Returns
Promise<FolderReconciliation>