OXIESEC PANEL
- Current Dir:
/
/
opt
/
gsutil
/
gslib
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/11/2025 08:19:48 AM
rwxr-xr-x
📄
__init__.cpython-39.pyc
2.94 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
__main__.cpython-39.pyc
20.78 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
boto_resumable_upload.cpython-39.pyc
14.86 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
boto_translation.cpython-39.pyc
47.41 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
bucket_listing_ref.cpython-39.pyc
4.23 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
cloud_api.cpython-39.pyc
41.26 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
cloud_api_delegator.cpython-39.pyc
21.69 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
command.cpython-39.pyc
63.61 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
command_argument.cpython-39.pyc
4.25 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
command_runner.cpython-39.pyc
15.75 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
context_config.cpython-39.pyc
6.98 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
cred_types.cpython-39.pyc
851 bytes
02/11/2025 08:19:49 AM
rw-r--r--
📄
cs_api_map.cpython-39.pyc
3.25 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
daisy_chain_wrapper.cpython-39.pyc
8.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
devshell_auth_plugin.cpython-39.pyc
1.24 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
discard_messages_queue.cpython-39.pyc
989 bytes
02/11/2025 08:19:49 AM
rw-r--r--
📄
exception.cpython-39.pyc
5.84 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
file_part.cpython-39.pyc
4.04 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
gcs_json_api.cpython-39.pyc
53.37 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
gcs_json_credentials.cpython-39.pyc
13.84 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
gcs_json_media.cpython-39.pyc
19.41 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
help_provider.cpython-39.pyc
2.36 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
iamcredentials_api.cpython-39.pyc
7.62 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
impersonation_credentials.cpython-39.pyc
1.79 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
kms_api.cpython-39.pyc
9.34 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
lazy_wrapper.cpython-39.pyc
2.27 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
metrics.cpython-39.pyc
26.95 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
metrics_tuple.cpython-39.pyc
491 bytes
02/11/2025 08:19:48 AM
rw-r--r--
📄
name_expansion.cpython-39.pyc
20.03 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
no_op_credentials.cpython-39.pyc
936 bytes
02/11/2025 08:19:49 AM
rw-r--r--
📄
parallel_tracker_file.cpython-39.pyc
8.89 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
plurality_checkable_iterator.cpython-39.pyc
3.2 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
progress_callback.cpython-39.pyc
4.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
project_id.cpython-39.pyc
841 bytes
02/11/2025 08:19:48 AM
rw-r--r--
📄
pubsub_api.cpython-39.pyc
7.69 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
resumable_streaming_upload.cpython-39.pyc
5.23 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
seek_ahead_thread.cpython-39.pyc
4.09 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
sig_handling.cpython-39.pyc
4.62 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
storage_url.cpython-39.pyc
16.48 KB
02/11/2025 08:19:48 AM
rw-r--r--
📄
tab_complete.cpython-39.pyc
10.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
thread_message.cpython-39.pyc
12.17 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
tracker_file.cpython-39.pyc
17.01 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
tz_utc.cpython-39.pyc
2.05 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
ui_controller.cpython-39.pyc
30.35 KB
02/11/2025 08:19:49 AM
rw-r--r--
📄
wildcard_iterator.cpython-39.pyc
23.94 KB
02/11/2025 08:19:48 AM
rw-r--r--
Editing: __init__.cpython-39.pyc
Close
a +(Wg6 � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlZddl Z ddl Zddlm Z e � \ZZes�ej�e��e�dd�Zer�z8ddlZejed d d gdde �� d gd�Ze�� W n ey� Y n0 ej�ej�e��Zej�ejd �Zej�e�Z d Z!dZ"eZ#ej�$ej�%e#d���sRej�&e ef�e k�rRdZ!e Z#ej�$ej�%e#d���s�ej�'ej�%ed��Z#d Z"dZ(dd� Z)e)� dd� Z*e*d�\Z+Z,e,�s�ej�d��e,Z-e*d�\Z.Z/e/�s�ej�d��dd� Z0dS )zPackage marker file.� )�absolute_import)�division)�print_function)�unicode_literalsN)�check_python_version_supportZGSUTIL_COVERAGE_OUTPUT_FILET�gslibzgslib/third_party/*z gslib/tests/*�*)Z data_fileZdata_suffixZ auto_data�sourceZomitF�VERSIONz..� c C s^ t j�td�} ddg}|D ]"\}}tj�dt j�| ||�� qtj�t j�| dddd�� d S ) zFFix our Python path so that it correctly finds our vendored libraries.Zvendored)�botor )Zoauth2clientr r r ZtestsZintegrationZs3N)�os�path�join� GSLIB_DIR�sys�insert�append)Z vendored_pathZvendored_lib_dirs�libdir�subdir� r �/opt/gsutil/gslib/__init__.py�_AddVendoredDepsToPythonPath` s � �r c C s� t j�t| �}t j�|�rNt|d��}|�� }W d � q^1 sB0 Y nt�d| �}d}|dur�t j jdkr�t|t �r�|�d�}|�� }||fS )a Tries to find the given filename on disk or via pkgutil.get_data. Args: filename: String name of the file. Returns: A tuple containing the absolute path to the requested file and the file's contents as a string (or None if the file doesn't exist). �rNr � zutf-8)r r r �PROGRAM_FILES_DIR�isfile�open�read�pkgutil�get_datar �version_info�major� isinstance�bytes�decode�strip)�filenameZfpath�fZcontentr r r �_GetFileContents| s ( r) z<VERSION file not found. Please reinstall gsutil from scratch�CHECKSUMz=CHECKSUM file not found. Please reinstall gsutil from scratchc C s t sdS ttj�t ��S )zBReturns unix timestamp of when the VERSION file was last modified.r )�VERSION_FILE�intr r �getmtimer r r r �GetGsutilVersionModifiedTime� s r. )1�__doc__� __future__r r r r r r r ZtempfileZgslib.exceptionr Zgslib.utils.version_checkr Z supported�errZ exceptionZCommandException�getenvZcoverage_outfileZcoverageZ gettempdirZcoverage_controller�start�ImportErrorr �dirname�realpath�__file__r �argvZGSUTIL_PATH� GSUTIL_DIRZIS_PACKAGE_INSTALLZIS_EDITABLE_INSTALLr r r �commonprefix�normpathZ USER_AGENTr r) r+ r �__version__Z CHECKSUM_FILEr* r. r r r r �<module> sv �� ���