$66 GRAYBYTE WORDPRESS FILE MANAGER $75

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python310/lib64/python3.10/distutils/__pycache__/

HOME
Current File : /opt/alt/python310/lib64/python3.10/distutils/__pycache__//dir_util.cpython-310.pyc
o

���hb�@stdZddlZddlZddlmZmZddlmZiaddd�Z	dd	d
�Z
		ddd�Zd
d�Zddd�Z
dd�ZdS)zWdistutils.dir_util

Utility functions for manipulating directories and directory trees.�N)�DistutilsFileError�DistutilsInternalError)�log��cCsrt|t�std|f��tj�|�}g}tj�|�s|dkr |St�tj�	|��r+|Stj�
|�\}}|g}|rX|rXtj�|�sXtj�
|�\}}|�d|�|rX|rXtj�|�r@|D]\}tj�||�}tj�	|�}	t�|	�roqZ|dkryt
�d|�|s�zt�||�Wn)ty�}
z|
jtjkr�tj�|�s�td||
jdf��WYd}
~
nd}
~
ww|�|�dt|	<qZ|S)	a�Create a directory and any missing ancestor directories.

    If the directory already exists (or if 'name' is the empty string, which
    means the current directory, which of course exists), then do nothing.
    Raise DistutilsFileError if unable to create some directory along the way
    (eg. some sub-path exists, but is a file rather than a directory).
    If 'verbose' is true, print a one-line summary of each mkdir to stdout.
    Return the list of directories actually created.
    z(mkpath: 'name' must be a string (got %r)�rrzcreating %szcould not create '%s': %s���N)�
isinstance�strr�os�path�normpath�isdir�
_path_created�get�abspath�split�insert�joinr�info�mkdir�OSError�errnoZEEXISTr�args�append)�name�mode�verbose�dry_runZcreated_dirs�head�tailZtails�dZabs_head�exc�r#�9/opt/alt/python310/lib64/python3.10/distutils/dir_util.py�mkpathsJ
��
����

r%c	CsNt�}|D]}|�tj�|tj�|���qt|�D]
}t||||d�qdS)a�Create all the empty directories under 'base_dir' needed to put 'files'
    there.

    'base_dir' is just the name of a directory which doesn't necessarily
    exist yet; 'files' is a list of filenames to be interpreted relative to
    'base_dir'.  'base_dir' + the directory portion of every file in 'files'
    will be created if it doesn't already exist.  'mode', 'verbose' and
    'dry_run' flags are as for 'mkpath()'.
    �rrN)�set�addrrr�dirname�sortedr%)Zbase_dir�filesrrrZneed_dir�file�dirr#r#r$�create_treePs�r.c
CsZddlm}|stj�|�std|��zt�|�}	Wn ty;}
z|r(g}	n	td||
jf��WYd}
~
nd}
~
ww|sDt	||d�g}|	D]b}tj�
||�}
tj�
||�}|�d�r^qH|r�tj�|
�r�t�
|
�}|dkrvt�d	||�|s~t�||�|�|�qHtj�|
�r�|�t|
|||||||d
��qH||
||||||d
�|�|�qH|S)aCopy an entire directory tree 'src' to a new location 'dst'.

    Both 'src' and 'dst' must be directory names.  If 'src' is not a
    directory, raise DistutilsFileError.  If 'dst' does not exist, it is
    created with 'mkpath()'.  The end result of the copy is that every
    file in 'src' is copied to 'dst', and directories under 'src' are
    recursively copied to 'dst'.  Return the list of files that were
    copied or might have been copied, using their output name.  The
    return value is unaffected by 'update' or 'dry_run': it is simply
    the list of all files under 'src', with the names changed to be
    under 'dst'.

    'preserve_mode' and 'preserve_times' are the same as for
    'copy_file'; note that they only apply to regular files, not to
    directories.  If 'preserve_symlinks' is true, symlinks will be
    copied as symlinks (on platforms that support them!); otherwise
    (the default), the destination of the symlink will be copied.
    'update' and 'verbose' are the same as for 'copy_file'.
    r)�	copy_filez&cannot copy tree '%s': not a directoryzerror listing files in '%s': %sN)rz.nfsrzlinking %s -> %sr&)Zdistutils.file_utilr/rrrr�listdirr�strerrorr%r�
startswith�islink�readlinkrr�symlinkr�extend�	copy_tree)�srcZdstZ
preserve_modeZpreserve_timesZpreserve_symlinks�updaterrr/�names�eZoutputs�nZsrc_nameZdst_nameZ	link_destr#r#r$r7csX�����

���r7cCsft�|�D]#}tj�||�}tj�|�r tj�|�s t||�q|�tj|f�q|�tj	|f�dS)zHelper for remove_tree().N)
rr0rrrr3�_build_cmdtupler�remove�rmdir)r�	cmdtuples�fZreal_fr#r#r$r=�sr=cCs�|dkr
t�d|�|rdSg}t||�|D]4}z|d|d�tj�|d�}|tvr1t|=WqtyK}z
t�d||�WYd}~qd}~wwdS)z�Recursively remove an entire directory tree.

    Any errors are ignored (apart from being reported to stdout if 'verbose'
    is true).
    rz'removing '%s' (and everything under it)Nrzerror removing %s: %s)	rrr=rrrrr�warn)Z	directoryrrr@�cmdrr"r#r#r$�remove_tree�s$
����rDcCs6tj�|�\}}|dd�tjkr||dd�}|S)z�Take the full path 'path', and make it a relative path.

    This is useful to make 'path' the second argument to os.path.join().
    rrN)rr�
splitdrive�sep)rZdriver#r#r$�ensure_relative�srG)rrr)rrrrrr)rr)�__doc__rrZdistutils.errorsrrZ	distutilsrrr%r.r7r=rDrGr#r#r#r$�<module>s

?
�E




Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-310.opt-1.pyc
0.622 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__init__.cpython-310.opt-2.pyc
0.448 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__init__.cpython-310.pyc
0.622 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
_msvccompiler.cpython-310.opt-1.pyc
12.501 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
_msvccompiler.cpython-310.opt-2.pyc
11.395 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
_msvccompiler.cpython-310.pyc
12.543 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
archive_util.cpython-310.opt-1.pyc
6.371 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
archive_util.cpython-310.opt-2.pyc
4.4 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
archive_util.cpython-310.pyc
6.371 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
bcppcompiler.cpython-310.opt-1.pyc
6.358 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
bcppcompiler.cpython-310.opt-2.pyc
6.085 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
bcppcompiler.cpython-310.pyc
6.358 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
ccompiler.cpython-310.opt-1.pyc
32.196 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
ccompiler.cpython-310.opt-2.pyc
16.385 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
ccompiler.cpython-310.pyc
32.285 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
cmd.cpython-310.opt-1.pyc
13.585 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
cmd.cpython-310.opt-2.pyc
7.932 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
cmd.cpython-310.pyc
13.585 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
config.cpython-310.opt-1.pyc
3.467 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
config.cpython-310.opt-2.pyc
3.116 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
config.cpython-310.pyc
3.467 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
core.cpython-310.opt-1.pyc
6.464 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
core.cpython-310.opt-2.pyc
3.168 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
core.cpython-310.pyc
6.464 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
cygwinccompiler.cpython-310.opt-1.pyc
8.273 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
cygwinccompiler.cpython-310.opt-2.pyc
6.725 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
cygwinccompiler.cpython-310.pyc
8.273 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
debug.cpython-310.opt-1.pyc
0.208 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
debug.cpython-310.opt-2.pyc
0.208 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
debug.cpython-310.pyc
0.208 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dep_util.cpython-310.opt-1.pyc
2.67 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dep_util.cpython-310.opt-2.pyc
1.276 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dep_util.cpython-310.pyc
2.67 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dir_util.cpython-310.opt-1.pyc
5.708 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dir_util.cpython-310.opt-2.pyc
3.413 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dir_util.cpython-310.pyc
5.708 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dist.cpython-310.opt-1.pyc
33.17 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dist.cpython-310.opt-2.pyc
24.199 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
dist.cpython-310.pyc
33.17 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
errors.cpython-310.opt-1.pyc
4.839 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
errors.cpython-310.opt-2.pyc
2.46 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
errors.cpython-310.pyc
4.839 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
extension.cpython-310.opt-1.pyc
6.826 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
extension.cpython-310.opt-2.pyc
3.43 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
extension.cpython-310.pyc
6.826 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
fancy_getopt.cpython-310.opt-1.pyc
10.227 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
fancy_getopt.cpython-310.opt-2.pyc
7.54 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
fancy_getopt.cpython-310.pyc
10.345 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
file_util.cpython-310.opt-1.pyc
5.8 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
file_util.cpython-310.opt-2.pyc
3.732 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
file_util.cpython-310.pyc
5.8 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
filelist.cpython-310.opt-1.pyc
9.54 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
filelist.cpython-310.opt-2.pyc
6.771 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
filelist.cpython-310.pyc
9.612 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
log.cpython-310.opt-1.pyc
2.217 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
log.cpython-310.opt-2.pyc
2.161 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
log.cpython-310.pyc
2.217 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
msvc9compiler.cpython-310.opt-1.pyc
17.072 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
msvc9compiler.cpython-310.opt-2.pyc
15.531 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
msvc9compiler.cpython-310.pyc
17.114 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
msvccompiler.cpython-310.opt-1.pyc
14.398 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
msvccompiler.cpython-310.opt-2.pyc
12.9 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
msvccompiler.cpython-310.pyc
14.398 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
spawn.cpython-310.opt-1.pyc
3.35 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
spawn.cpython-310.opt-2.pyc
2.255 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
spawn.cpython-310.pyc
3.35 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
sysconfig.cpython-310.opt-1.pyc
6.848 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
sysconfig.cpython-310.opt-2.pyc
5.065 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
sysconfig.cpython-310.pyc
6.848 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
text_file.cpython-310.opt-1.pyc
8.234 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
text_file.cpython-310.opt-2.pyc
3.292 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
text_file.cpython-310.pyc
8.234 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
unixccompiler.cpython-310.opt-1.pyc
6.946 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
unixccompiler.cpython-310.opt-2.pyc
6.34 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
unixccompiler.cpython-310.pyc
6.946 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
util.cpython-310.opt-1.pyc
15.281 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
util.cpython-310.opt-2.pyc
9.591 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
util.cpython-310.pyc
15.285 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
version.cpython-310.opt-1.pyc
7.134 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
version.cpython-310.opt-2.pyc
3.941 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
version.cpython-310.pyc
7.15 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
versionpredicate.cpython-310.opt-1.pyc
5.029 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
versionpredicate.cpython-310.opt-2.pyc
2.631 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
versionpredicate.cpython-310.pyc
5.029 KB
9 Jan 2026 2.06 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF