Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/earthstar/mod.ts>ReplicaCache#getAllDocsAtPath

Storage for private, distributed, offline-first applications.
Go to Latest
method ReplicaCache.prototype.getAllDocsAtPath
import { ReplicaCache } from "https://deno.land/x/earthstar@v10.0.1/mod.ts";

Fetch all versions of all docs from a certain path from the cache. Returns an empty array in case of a cache miss, and queries the backing replica.

Parameters

path: Path
optional
formats: FormatsArg<F>