Skip to main content

Interface: ImageFilesProvider

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

add a directory to the layer

Parameters

layer: ImageFilesystemLayer

opts

opts.mode: number

opts.path: string

Returns

ImageFilesProvider

Defined in

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


addFile()

addFile(layer, opts): ImageFilesProvider

add a file to the layer

Parameters

layer: ImageFilesystemLayer

opts

opts.mode: number

opts.path: string

opts.size: number

Returns

ImageFilesProvider

Defined in

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


addOpaqueWhiteout()

addOpaqueWhiteout(layer, path): ImageFilesProvider

add a complete directory to remove from previous layers

Parameters

layer: ImageFilesystemLayer

path: string

Returns

ImageFilesProvider

Defined in

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


addSymlink(layer, opts): ImageFilesProvider

add a symbolic link to the layer

Parameters

layer: ImageFilesystemLayer

opts

opts.linkPath: string

opts.mode: number

opts.path: string

Returns

ImageFilesProvider

Defined in

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


addWhiteout()

addWhiteout(layer, path): ImageFilesProvider

add a file or directory to remove from previous layers

Parameters

layer: ImageFilesystemLayer

path: string

Returns

ImageFilesProvider

Defined in

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


dispose()

dispose(): void

Dispose this object.

Returns

void

Inherited from

Disposable.dispose

Defined in

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