getArchiveInfo

suspend fun getArchiveInfo(id: String, path: String): Result<String, ErrorResponse>

Returns the raw Base64-encoded X-Docker-Container-Path-Stat header, or an empty string when absent. Decode the header separately to obtain path metadata. Bodyless HTTP errors remain error results.

Return

Operation response on success, or the Docker error response. Transport failures and cancellation can throw.

Parameters

id

Container ID or name.

path

Path inside the container filesystem.