ipfs-core
Version:
JavaScript implementation of the IPFS specification
13 lines • 522 B
TypeScript
/**
* @typedef {object} Context
* @property {import('ipfs-repo').IPFSRepo} repo
* @property {import('../types').Preload} preload
*
* @param {Context} context
*/
export function createGet({ repo, preload }: Context): (ipfsPath: import("ipfs-core-types/src/utils.js").IPFSPath, options?: import("ipfs-core-types/src/root").GetOptions | undefined) => AsyncIterable<Uint8Array>;
export type Context = {
repo: import('ipfs-repo').IPFSRepo;
preload: import('../types').Preload;
};
//# sourceMappingURL=get.d.ts.map