TransferSpec typedef
A specification describing a single copy-into-container operation.
The three positional fields are:
- The Transferable data source.
- The
destinationentry name within the tar archive. When the archive is extracted at/inside the container, this becomes the absolute path of the copied file (e.g.'app/config.yaml'→/app/config.yaml). - The Unix file permission bits (e.g.
0x1A4=0o644). Defaults to0x1A4when omitted from a TransferSpec record literal.
Implementation
typedef TransferSpec = (Transferable data, String destination, int mode);