UNPKG

snyk-docker-plugin

Version:
11 lines (10 loc) 647 B
import { PluginOptions } from "../../types"; import { ExtractAction, ExtractedLayersAndManifest } from "../types"; /** * Retrieve the products of files content from the specified oci-archive. * @param ociArchiveFilesystemPath Path to image file saved in oci-archive format. * @param extractActions Array of pattern-callbacks pairs. * @param options PluginOptions * @returns Array of extracted files products sorted by the reverse order of the layers from last to first. */ export declare function extractArchive(ociArchiveFilesystemPath: string, extractActions: ExtractAction[], options: PluginOptions): Promise<ExtractedLayersAndManifest>;