GRAYBYTE WORDPRESS FILE MANAGER9843

Server IP : 149.255.58.128 / Your IP : 216.73.216.144
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib64/python3.9/distutils/__pycache__/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib64/python3.9/distutils/__pycache__//archive_util.cpython-39.pyc
a

�DOg|!�@s>dZddlZddlmZddlZzddlZWneyBdZYn0ddlmZddl	m
Z
ddlmZddl
mZzddlmZWney�dZYn0zdd	lmZWney�dZYn0d
d�Zdd
�Zd#dd�Zd$dd�Zedgdfedgdfedgdfedgdfedgdfegdfd�Zdd �Zd%d!d"�ZdS)&zodistutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).�N)�warn)�DistutilsExecError)�spawn)�mkpath)�log)�getpwnam)�getgrnamcCsLtdus|durdSzt|�}Wnty6d}Yn0|durH|dSdS)z"Returns a gid, given a group name.N�)r�KeyError��name�result�r�./usr/lib64/python3.9/distutils/archive_util.py�_get_gids
rcCsLtdus|durdSzt|�}Wnty6d}Yn0|durH|dSdS)z"Returns an uid, given a user name.Nr	)rr
rrrr�_get_uid+s
r�gzipcs6dddddd�}dddd	d
�}|dur:||��vr:td��|d
}	|dkrZ|	|�|d�7}	ttj�|	�|d�ddl}
t�	d�t
���t�������fdd�}|s�|
�|	d||�}z|j
||d�W|��n
|��0|dk�r2tdt�|	||}
tjdk�r||	|
g}n
|d|	g}t||d�|
S|	S)a=Create a (possibly compressed) tar file from all the files under
    'base_dir'.

    'compress' must be "gzip" (the default), "bzip2", "xz", "compress", or
    None.  ("compress" will be deprecated in Python 3.2)

    'owner' and 'group' can be used to define an owner and a group for the
    archive that is being built. If not provided, the current owner and group
    will be used.

    The output tar file will be named 'base_dir' +  ".tar", possibly plus
    the appropriate compression extension (".gz", ".bz2", ".xz" or ".Z").

    Returns the output filename.
    �gz�bz2�xz�)r�bzip2rN�compressz.gzz.bz2z.xzz.Z)rrrrNzKbad value for 'compress': must be None, 'gzip', 'bzip2', 'xz' or 'compress'z.tarr��dry_runrzCreating tar archivecs,�dur�|_�|_�dur(�|_�|_|S)N)�gid�gname�uid�uname)�tarinfo�r�group�ownerrrr�_set_uid_gidasz"make_tarball.<locals>._set_uid_gidzw|%s)�filterz'compress' will be deprecated.�win32z-f)�keys�
ValueError�getr�os�path�dirname�tarfiler�inforr�open�add�closer�PendingDeprecationWarning�sys�platformr)�	base_name�base_dirr�verboserr"r!�tar_compression�compress_ext�archive_namer,r#�tarZcompressed_name�cmdrr r�make_tarball7sB���
	


r<c
Cs�|d}ttj�|�|d�tdurn|r.d}nd}ztd|||g|d�Wntyhtd|��Yn0�nJt�d||�|�s�ztj	|d	tj
d
�}Wn$ty�tj	|d	tjd
�}Yn0|��|tj
kr�tj�tj�|d��}|�||�t�d|�t�|�D]�\}}	}
|	D]6}tj�tj�||d��}|�||�t�d|��q|
D]B}tj�tj�||��}tj�|��rP|�||�t�d|��qP�qWd�n1�s�0Y|S)
avCreate a zip file from all the files under 'base_dir'.

    The output zip file will be named 'base_name' + ".zip".  Uses either the
    "zipfile" Python module (if available) or the InfoZIP "zip" utility
    (if installed and found on the default search path).  If neither tool is
    available, raises DistutilsExecError.  Returns the name of the output zip
    file.
    z.ziprNz-rz-rq�zipzkunable to create zip file '%s': could neither import the 'zipfile' module nor find a standalone zip utilityz#creating '%s' and adding '%s' to it�w)�compressionrzadding '%s')rr)r*r+�zipfilerrrr-�ZipFile�ZIP_DEFLATED�RuntimeErrorZ
ZIP_STORED�curdir�normpath�join�write�walk�isfile)r4r5r6r�zip_filenameZ
zipoptionsr=r*�dirpath�dirnames�	filenamesrrrr�make_zipfilesT	�
���
�
4rN)rrzgzip'ed tar-file)rrzbzip2'ed tar-file)rrzxz'ed tar-file)rrzcompressed tar file)rNzuncompressed tar filezZIP file)�gztar�bztar�xztarZztarr:r=cCs|D]}|tvr|SqdS)zqReturns the first format from the 'format' list that is unknown.

    If all formats are known, returns None
    N)�ARCHIVE_FORMATS)�formats�formatrrr�check_archive_formats�s
rUc
Cst��}|dur6t�d|�tj�|�}|s6t�|�|durDtj}d|i}	zt|}
Wnt	yvt
d|��Yn0|
d}|
dD]\}}
|
|	|<q�|dkr�||	d<||	d	<z4|||fi|	��}W|dur�t�d
|�t�|�n"|du�rt�d
|�t�|�0|S)a�Create an archive file (eg. zip or tar).

    'base_name' is the name of the file to create, minus any format-specific
    extension; 'format' is the archive format: one of "zip", "tar", "gztar",
    "bztar", "xztar", or "ztar".

    'root_dir' is a directory that will be the root directory of the
    archive; ie. we typically chdir into 'root_dir' before creating the
    archive.  'base_dir' is the directory where we start archiving from;
    ie. 'base_dir' will be the common prefix of all files and
    directories in the archive.  'root_dir' and 'base_dir' both default
    to the current directory.  Returns the name of the archive file.

    'owner' and 'group' are used when creating a tar archive. By default,
    uses the current owner and group.
    Nzchanging into '%s'rzunknown archive format '%s'r�r=r"r!zchanging back to '%s')r)�getcwdr�debugr*�abspath�chdirrDrRr
r')r4rT�root_dirr5r6rr"r!�save_cwd�kwargs�format_info�func�arg�val�filenamerrr�make_archive�s8

�
rc)rrrNN)rr)NNrrNN)�__doc__r)�warningsrr2r@�ImportErrorZdistutils.errorsrZdistutils.spawnrZdistutils.dir_utilrZ	distutilsr�pwdr�grprrrr<rNrRrUrcrrrr�<module>sH


�
H
=




�	
�

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
December 12 2024 22:42:25
0 / root
0755
__init__.cpython-39.opt-1.pyc
0.377 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.opt-2.pyc
0.199 KB
December 12 2024 10:11:38
0 / root
0644
__init__.cpython-39.pyc
0.377 KB
December 12 2024 10:11:38
0 / root
0644
_msvccompiler.cpython-39.opt-1.pyc
12.484 KB
December 12 2024 10:11:38
0 / root
0644
_msvccompiler.cpython-39.opt-2.pyc
11.362 KB
December 12 2024 10:11:38
0 / root
0644
_msvccompiler.cpython-39.pyc
12.526 KB
December 12 2024 10:11:38
0 / root
0644
archive_util.cpython-39.opt-1.pyc
6.433 KB
December 12 2024 10:11:38
0 / root
0644
archive_util.cpython-39.opt-2.pyc
4.438 KB
December 12 2024 10:11:38
0 / root
0644
archive_util.cpython-39.pyc
6.433 KB
December 12 2024 10:11:38
0 / root
0644
bcppcompiler.cpython-39.opt-1.pyc
6.346 KB
December 12 2024 10:11:38
0 / root
0644
bcppcompiler.cpython-39.opt-2.pyc
6.064 KB
December 12 2024 10:11:38
0 / root
0644
bcppcompiler.cpython-39.pyc
6.346 KB
December 12 2024 10:11:38
0 / root
0644
ccompiler.cpython-39.opt-1.pyc
32.321 KB
December 12 2024 10:11:38
0 / root
0644
ccompiler.cpython-39.opt-2.pyc
16.396 KB
December 12 2024 10:11:38
0 / root
0644
ccompiler.cpython-39.pyc
32.41 KB
December 12 2024 10:11:38
0 / root
0644
cmd.cpython-39.opt-1.pyc
13.6 KB
December 12 2024 10:11:38
0 / root
0644
cmd.cpython-39.opt-2.pyc
7.871 KB
December 12 2024 10:11:38
0 / root
0644
cmd.cpython-39.pyc
13.6 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.opt-1.pyc
3.446 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.opt-2.pyc
3.064 KB
December 12 2024 10:11:38
0 / root
0644
config.cpython-39.pyc
3.446 KB
December 12 2024 10:11:38
0 / root
0644
core.cpython-39.opt-1.pyc
6.498 KB
December 12 2024 10:11:38
0 / root
0644
core.cpython-39.opt-2.pyc
3.19 KB
December 12 2024 10:11:38
0 / root
0644
core.cpython-39.pyc
6.498 KB
December 12 2024 10:11:38
0 / root
0644
cygwinccompiler.cpython-39.opt-1.pyc
8.304 KB
December 12 2024 10:11:38
0 / root
0644
cygwinccompiler.cpython-39.opt-2.pyc
6.712 KB
December 12 2024 10:11:38
0 / root
0644
cygwinccompiler.cpython-39.pyc
8.304 KB
December 12 2024 10:11:38
0 / root
0644
debug.cpython-39.opt-1.pyc
0.191 KB
December 12 2024 10:11:38
0 / root
0644
debug.cpython-39.opt-2.pyc
0.191 KB
December 12 2024 10:11:38
0 / root
0644
debug.cpython-39.pyc
0.191 KB
December 12 2024 10:11:38
0 / root
0644
dep_util.cpython-39.opt-1.pyc
2.652 KB
December 12 2024 10:11:38
0 / root
0644
dep_util.cpython-39.opt-2.pyc
1.242 KB
December 12 2024 10:11:38
0 / root
0644
dep_util.cpython-39.pyc
2.652 KB
December 12 2024 10:11:38
0 / root
0644
dir_util.cpython-39.opt-1.pyc
5.681 KB
December 12 2024 10:11:38
0 / root
0644
dir_util.cpython-39.opt-2.pyc
3.358 KB
December 12 2024 10:11:38
0 / root
0644
dir_util.cpython-39.pyc
5.681 KB
December 12 2024 10:11:38
0 / root
0644
dist.cpython-39.opt-1.pyc
33.543 KB
December 12 2024 10:11:38
0 / root
0644
dist.cpython-39.opt-2.pyc
24.47 KB
December 12 2024 10:11:38
0 / root
0644
dist.cpython-39.pyc
33.543 KB
December 12 2024 10:11:38
0 / root
0644
errors.cpython-39.opt-1.pyc
5.129 KB
December 12 2024 10:11:38
0 / root
0644
errors.cpython-39.opt-2.pyc
2.641 KB
December 12 2024 10:11:38
0 / root
0644
errors.cpython-39.pyc
5.129 KB
December 12 2024 10:11:38
0 / root
0644
extension.cpython-39.opt-1.pyc
6.755 KB
December 12 2024 10:11:38
0 / root
0644
extension.cpython-39.opt-2.pyc
3.347 KB
December 12 2024 10:11:38
0 / root
0644
extension.cpython-39.pyc
6.755 KB
December 12 2024 10:11:38
0 / root
0644
fancy_getopt.cpython-39.opt-1.pyc
10.256 KB
December 12 2024 10:11:38
0 / root
0644
fancy_getopt.cpython-39.opt-2.pyc
7.519 KB
December 12 2024 10:11:38
0 / root
0644
fancy_getopt.cpython-39.pyc
10.376 KB
December 12 2024 10:11:38
0 / root
0644
file_util.cpython-39.opt-1.pyc
5.843 KB
December 12 2024 10:11:38
0 / root
0644
file_util.cpython-39.opt-2.pyc
3.756 KB
December 12 2024 10:11:38
0 / root
0644
file_util.cpython-39.pyc
5.843 KB
December 12 2024 10:11:38
0 / root
0644
filelist.cpython-39.opt-1.pyc
9.532 KB
December 12 2024 10:11:38
0 / root
0644
filelist.cpython-39.opt-2.pyc
6.729 KB
December 12 2024 10:11:38
0 / root
0644
filelist.cpython-39.pyc
9.604 KB
December 12 2024 10:11:38
0 / root
0644
log.cpython-39.opt-1.pyc
2.261 KB
December 12 2024 10:11:38
0 / root
0644
log.cpython-39.opt-2.pyc
2.201 KB
December 12 2024 10:11:38
0 / root
0644
log.cpython-39.pyc
2.261 KB
December 12 2024 10:11:38
0 / root
0644
msvc9compiler.cpython-39.opt-1.pyc
17.06 KB
December 12 2024 10:11:38
0 / root
0644
msvc9compiler.cpython-39.opt-2.pyc
15.477 KB
December 12 2024 10:11:38
0 / root
0644
msvc9compiler.cpython-39.pyc
17.102 KB
December 12 2024 10:11:38
0 / root
0644
msvccompiler.cpython-39.opt-1.pyc
14.362 KB
December 12 2024 10:11:38
0 / root
0644
msvccompiler.cpython-39.opt-2.pyc
12.826 KB
December 12 2024 10:11:38
0 / root
0644
msvccompiler.cpython-39.pyc
14.362 KB
December 12 2024 10:11:38
0 / root
0644
spawn.cpython-39.opt-1.pyc
3.36 KB
December 12 2024 10:11:38
0 / root
0644
spawn.cpython-39.opt-2.pyc
2.254 KB
December 12 2024 10:11:38
0 / root
0644
spawn.cpython-39.pyc
3.36 KB
December 12 2024 10:11:38
0 / root
0644
sysconfig.cpython-39.opt-1.pyc
11.781 KB
December 12 2024 10:11:38
0 / root
0644
sysconfig.cpython-39.opt-2.pyc
8.376 KB
December 12 2024 10:11:38
0 / root
0644
sysconfig.cpython-39.pyc
11.781 KB
December 12 2024 10:11:38
0 / root
0644
text_file.cpython-39.opt-1.pyc
8.243 KB
December 12 2024 10:11:38
0 / root
0644
text_file.cpython-39.opt-2.pyc
3.265 KB
December 12 2024 10:11:38
0 / root
0644
text_file.cpython-39.pyc
8.243 KB
December 12 2024 10:11:38
0 / root
0644
unixccompiler.cpython-39.opt-1.pyc
6.965 KB
December 12 2024 10:11:38
0 / root
0644
unixccompiler.cpython-39.opt-2.pyc
6.351 KB
December 12 2024 10:11:38
0 / root
0644
unixccompiler.cpython-39.pyc
6.965 KB
December 12 2024 10:11:38
0 / root
0644
util.cpython-39.opt-1.pyc
15.225 KB
December 12 2024 10:11:38
0 / root
0644
util.cpython-39.opt-2.pyc
9.479 KB
December 12 2024 10:11:38
0 / root
0644
util.cpython-39.pyc
15.225 KB
December 12 2024 10:11:38
0 / root
0644
version.cpython-39.opt-1.pyc
7.141 KB
December 12 2024 10:11:38
0 / root
0644
version.cpython-39.opt-2.pyc
3.933 KB
December 12 2024 10:11:38
0 / root
0644
version.cpython-39.pyc
7.169 KB
December 12 2024 10:11:38
0 / root
0644
versionpredicate.cpython-39.opt-1.pyc
5.005 KB
December 12 2024 10:11:38
0 / root
0644
versionpredicate.cpython-39.opt-2.pyc
2.583 KB
December 12 2024 10:11:38
0 / root
0644
versionpredicate.cpython-39.pyc
5.005 KB
December 12 2024 10:11:38
0 / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF