Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/sync-fs/sync-fs-types.ts

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
import * as earthstar from "https://deno.land/x/earthstar@v10.0.0-alpha.3/src/sync-fs/sync-fs-types.ts";

Type Aliases

Options for syncing a replica with a filesystem directory.

  • dirPath: The filesystem path of the directory to be synced
  • replica: The replica to be synced with the directory
  • keypair: 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.