Skip to main content

writeLayoutArchive

@webda/oci


Function: writeLayoutArchive()

writeLayoutArchive(layout, file, removeLayout?): Promise<void>

Defined in: packages/oci/src/image.ts:528

Archive a layout folder as a tar file, the format podman load and docker load accept

Parameters​

layout​

string

the layout folder

file​

string

the tar file to write

removeLayout?​

boolean = false

delete the folder afterwards

Returns​

Promise<void>