Skip to main content

Interface: ImageFilesCallbacks

Interface to be implemented by image files providers

Methods

getFilesystemLayers()

getFilesystemLayers(image, token?): ProviderResult<ImageFilesystemLayers>

Parameters

image

ImageInfo

Info about the image

token?

CancellationToken

a cancellation token the function can use to be informed when the caller asks for the operation to be cancelled

Returns

ProviderResult<ImageFilesystemLayers>

the complete result of the layers, either synchronously of through a Promise

Defined in

packages/extension-api/src/extension-api.d.ts:929