Skip to main content

Interface: ImageFilesProvider

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

Provider returned to the extension when calling createImageFilesProvider Provides helper functions for building the response of the createImageFilesProvider callback

Extends

Methods

addDirectory()

addDirectory(layer, opts): ImageFilesProvider

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

add a directory to the layer

Parameters

layer

ImageFilesystemLayer

opts
mode

number

path

string

Returns

ImageFilesProvider


addFile()

addFile(layer, opts): ImageFilesProvider

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

add a file to the layer

Parameters

layer

ImageFilesystemLayer

opts
mode

number

path

string

size

number

Returns

ImageFilesProvider


addOpaqueWhiteout()

addOpaqueWhiteout(layer, path): ImageFilesProvider

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

add a complete directory to remove from previous layers

Parameters

layer

ImageFilesystemLayer

path

string

Returns

ImageFilesProvider


addSymlink(layer, opts): ImageFilesProvider

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

add a symbolic link to the layer

Parameters

layer

ImageFilesystemLayer

opts
linkPath

string

mode

number

path

string

Returns

ImageFilesProvider


addWhiteout()

addWhiteout(layer, path): ImageFilesProvider

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

add a file or directory to remove from previous layers

Parameters

layer

ImageFilesystemLayer

path

string

Returns

ImageFilesProvider


dispose()

dispose(): void

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

Dispose this object.

Returns

void

Inherited from

Disposable.dispose