Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.MultiformatReplica#queryPaths

An always-online Earthstar peer for your shares.
Latest
method Earthstar.MultiformatReplica.prototype.queryPaths
Re-export
import { Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { MultiformatReplica } = Earthstar;

Returns an array of all unique paths of documents returned by a given query.

Parameters

optional
query: Omit<Query<[string]>, "formats"> = [UNSUPPORTED]
optional
formats: FormatsArg<F>

Returns

Promise<Path[]>