code: func (cli *Client) ContainerStatPath(ctx context.Context, containerID, path string) (types.ContainerPathStat, error) {
  	query := url.Values{}
  	query.Set("path", filepath.ToSlash(path)) // Normalize the paths used in the API.
  
  	urlStr := "/containers/" + containerID + "/archive"
  	response, err := cli.head(ctx, urlStr, query, nil)
  	defer ensureReaderClosed(response)
  	if err != nil {
  		return types.ContainerPathStat{}, wrapResponseError(err, response, "container:path", containerID+":"+path)
  	}
  	return getContainerPathStatFromHeader(response.header)
  }
docs: // ContainerStatPath returns Stat information about a path inside the container filesystem.