UNPKG

ipfs-core

Version:

JavaScript implementation of the IPFS specification

13 lines 555 B
/** * @typedef {object} Context * @property {import('ipfs-repo').IPFSRepo} repo * @property {import('../types').Preload} preload * * @param {Context} context */ export function createLs({ repo, preload }: Context): (ipfsPath: import("ipfs-core-types/src/utils.js").IPFSPath, options?: import("ipfs-core-types/src/root").ListOptions | undefined) => AsyncIterable<import("ipfs-core-types/src/root").IPFSEntry>; export type Context = { repo: import('ipfs-repo').IPFSRepo; preload: import('../types').Preload; }; //# sourceMappingURL=ls.d.ts.map