Skip to main content

Interface: ImageFilesCallbacks

Defined in: packages/extension-api/src/extension-api.d.ts:1010

Interface to be implemented by image files providers

Methods​

getFilesystemLayers()​

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

Defined in: packages/extension-api/src/extension-api.d.ts:1017

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