import { type SyncFsOptions } from "https://deno.land/x/earthstar@v10.0.0-alpha.3/src/sync-fs/sync-fs-types.ts";
Options for syncing a replica with a filesystem directory.
dirPath
: The filesystem path of the directory to be syncedreplica
: The replica to be synced with the directorykeypair
: The keypair to be used to sign all writes derived from changes on the filesystem.allowDirtyDirWithoutManifest
: Whether to allow syncing of a folder with pre-existing contents which has never been synced before.
definition: { dirPath: string; replica: Replica; keypair: AuthorKeypair; allowDirtyDirWithoutManifest: boolean; overwriteFilesAtOwnedPaths?: boolean; }