UNPKG

@endo/compartment-mapper

Version:

The compartment mapper assembles Node applications in a sandbox

18 lines 1.39 kB
export function makeArchiveCompartmentMap(compartmentMap: CompartmentMapDescriptor, sources: Sources): ArchiveResult; export function makeAndHashArchiveFromMap(powers: ReadFn | ReadPowers, compartmentMap: CompartmentMapDescriptor, options?: ArchiveLiteOptions): Promise<{ bytes: Uint8Array; sha512?: string; }>; export function makeArchiveFromMap(powers: ReadFn | ReadPowers, compartmentMap: CompartmentMapDescriptor, options?: ArchiveLiteOptions): Promise<Uint8Array>; export function mapFromMap(powers: ReadFn | ReadPowers, compartmentMap: CompartmentMapDescriptor, options?: ArchiveLiteOptions): Promise<Uint8Array>; export function hashFromMap(powers: HashPowers, compartmentMap: CompartmentMapDescriptor, options?: ArchiveLiteOptions): Promise<string>; export function writeArchiveFromMap(write: WriteFn, readPowers: ReadFn | ReadPowers, archiveLocation: string, compartmentMap: CompartmentMapDescriptor, options?: ArchiveLiteOptions): Promise<void>; import type { CompartmentMapDescriptor } from './types.js'; import type { Sources } from './types.js'; import type { ArchiveResult } from './types.js'; import type { ReadFn } from './types.js'; import type { ReadPowers } from './types.js'; import type { ArchiveLiteOptions } from './types.js'; import type { HashPowers } from './types.js'; import type { WriteFn } from './types.js'; //# sourceMappingURL=archive-lite.d.ts.map