$58 GRAYBYTE WORDPRESS FILE MANAGER $41

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

/lib64/python3.6/distutils/__pycache__/

HOME
Current File : /lib64/python3.6/distutils/__pycache__//dir_util.cpython-36.opt-1.pyc
3


 \b�@spdZddlZddlZddlmZmZddlmZiaddd�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��cCspt|t�std|f��tjj|�}g}tjj|�s<|dkr@|Stjtjj	|��rV|Stjj
|�\}}|g}x6|r�|r�tjj|�r�tjj
|�\}}|jd|�qnWx�|D]�}tjj||�}tjj	|�}	tj|	�r�q�|dkr�t
jd|�|�s`ytj||�WnVtk
�rT}
z8|
jtjk�o*tjj|��sDtd||
jdf��WYdd}
~
XnX|j|�dt|	<q�W|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': %sN���)�
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#�*/usr/lib64/python3.6/distutils/dir_util.py�mkpaths>


&
r%cCsVt�}x(|D] }|jtjj|tjj|���qWx t|�D]}t||||d�q:WdS)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-cCsfddlm}|r,tjj|�r,td|��ytj|�}	Wn>tk
rx}
z"|rVg}	ntd||
jf��WYdd}
~
XnX|s�t	||d�g}x�|	D]�}tjj
||�}
tjj
||�}|jd�r�q�|o�tjj|
��rtj
|
�}|dkr�tjd	||�|�stj||�|j|�q�tjj|
��r>|jt|
|||||||d
��q�||
||||||d
�|j|�q�W|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 -> %s)rr)Zdistutils.file_utilr.rrrr�listdirr�strerrorr%r�
startswith�islink�readlinkrr�symlinkr�extend�	copy_tree)�src�dstZ
preserve_modeZpreserve_timesZpreserve_symlinks�updaterrr.�names�eZoutputs�nZsrc_nameZdst_nameZ	link_destr#r#r$r6csH
"


r6cCslxVtj|�D]H}tjj||�}tjj|�rDtjj|�rDt||�q|jtj|f�qW|jtj	|f�dS)zHelper for remove_tree().N)
rr/rrrr2�_build_cmdtupler�remove�rmdir)r�	cmdtuples�fZreal_fr#r#r$r=�sr=cCs�|dkrtjd|�|rdSg}t||�xp|D]h}y2|d|d�tjj|d�}|tkrdt|=Wq0tk
r�}ztjd||�WYdd}~Xq0Xq0WdS)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


rDcCs6tjj|�\}}|dd�tjkr2||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)rrr)rrrrrr)rr)�__doc__rrZdistutils.errorsrrZ	distutilsrrr%r-r6r=rDrGr#r#r#r$�<module>s
?

D




Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Apr 2026 7.12 PM
root / root
0755
__init__.cpython-36.opt-1.pyc
0.369 KB
2 Apr 2026 3.01 PM
root / root
0644
__init__.cpython-36.opt-2.pyc
0.191 KB
2 Apr 2026 3.01 PM
root / root
0644
__init__.cpython-36.pyc
0.369 KB
2 Apr 2026 3.01 PM
root / root
0644
_msvccompiler.cpython-36.opt-1.pyc
13.185 KB
2 Apr 2026 3.01 PM
root / root
0644
_msvccompiler.cpython-36.opt-2.pyc
12.392 KB
2 Apr 2026 3.01 PM
root / root
0644
_msvccompiler.cpython-36.pyc
13.244 KB
2 Apr 2026 3.01 PM
root / root
0644
archive_util.cpython-36.opt-1.pyc
6.374 KB
2 Apr 2026 3.01 PM
root / root
0644
archive_util.cpython-36.opt-2.pyc
4.381 KB
2 Apr 2026 3.01 PM
root / root
0644
archive_util.cpython-36.pyc
6.374 KB
2 Apr 2026 3.01 PM
root / root
0644
bcppcompiler.cpython-36.opt-1.pyc
6.329 KB
2 Apr 2026 3.01 PM
root / root
0644
bcppcompiler.cpython-36.opt-2.pyc
6.048 KB
2 Apr 2026 3.01 PM
root / root
0644
bcppcompiler.cpython-36.pyc
6.329 KB
2 Apr 2026 3.01 PM
root / root
0644
ccompiler.cpython-36.opt-1.pyc
32.441 KB
2 Apr 2026 3.01 PM
root / root
0644
ccompiler.cpython-36.opt-2.pyc
16.475 KB
2 Apr 2026 3.01 PM
root / root
0644
ccompiler.cpython-36.pyc
32.565 KB
2 Apr 2026 3.01 PM
root / root
0644
cmd.cpython-36.opt-1.pyc
14.637 KB
2 Apr 2026 3.01 PM
root / root
0644
cmd.cpython-36.opt-2.pyc
8.78 KB
2 Apr 2026 3.01 PM
root / root
0644
cmd.cpython-36.pyc
14.637 KB
2 Apr 2026 3.01 PM
root / root
0644
config.cpython-36.opt-1.pyc
3.405 KB
2 Apr 2026 3.01 PM
root / root
0644
config.cpython-36.opt-2.pyc
3.022 KB
2 Apr 2026 3.01 PM
root / root
0644
config.cpython-36.pyc
3.405 KB
2 Apr 2026 3.01 PM
root / root
0644
core.cpython-36.opt-1.pyc
6.644 KB
2 Apr 2026 3.01 PM
root / root
0644
core.cpython-36.opt-2.pyc
3.336 KB
2 Apr 2026 3.01 PM
root / root
0644
core.cpython-36.pyc
6.644 KB
2 Apr 2026 3.01 PM
root / root
0644
cygwinccompiler.cpython-36.opt-1.pyc
8.309 KB
2 Apr 2026 3.01 PM
root / root
0644
cygwinccompiler.cpython-36.opt-2.pyc
6.717 KB
2 Apr 2026 3.01 PM
root / root
0644
cygwinccompiler.cpython-36.pyc
8.309 KB
2 Apr 2026 3.01 PM
root / root
0644
debug.cpython-36.opt-1.pyc
0.184 KB
2 Apr 2026 3.01 PM
root / root
0644
debug.cpython-36.opt-2.pyc
0.184 KB
2 Apr 2026 3.01 PM
root / root
0644
debug.cpython-36.pyc
0.184 KB
2 Apr 2026 3.01 PM
root / root
0644
dep_util.cpython-36.opt-1.pyc
2.641 KB
2 Apr 2026 3.01 PM
root / root
0644
dep_util.cpython-36.opt-2.pyc
1.23 KB
2 Apr 2026 3.01 PM
root / root
0644
dep_util.cpython-36.pyc
2.641 KB
2 Apr 2026 3.01 PM
root / root
0644
dir_util.cpython-36.opt-1.pyc
5.668 KB
2 Apr 2026 3.01 PM
root / root
0644
dir_util.cpython-36.opt-2.pyc
3.346 KB
2 Apr 2026 3.01 PM
root / root
0644
dir_util.cpython-36.pyc
5.668 KB
2 Apr 2026 3.01 PM
root / root
0644
dist.cpython-36.opt-1.pyc
33.411 KB
2 Apr 2026 3.01 PM
root / root
0644
dist.cpython-36.opt-2.pyc
24.333 KB
2 Apr 2026 3.01 PM
root / root
0644
dist.cpython-36.pyc
33.411 KB
2 Apr 2026 3.01 PM
root / root
0644
errors.cpython-36.opt-1.pyc
5.346 KB
2 Apr 2026 3.01 PM
root / root
0644
errors.cpython-36.opt-2.pyc
2.77 KB
2 Apr 2026 3.01 PM
root / root
0644
errors.cpython-36.pyc
5.346 KB
2 Apr 2026 3.01 PM
root / root
0644
extension.cpython-36.opt-1.pyc
6.787 KB
2 Apr 2026 3.01 PM
root / root
0644
extension.cpython-36.opt-2.pyc
3.379 KB
2 Apr 2026 3.01 PM
root / root
0644
extension.cpython-36.pyc
6.787 KB
2 Apr 2026 3.01 PM
root / root
0644
fancy_getopt.cpython-36.opt-1.pyc
10.257 KB
2 Apr 2026 3.01 PM
root / root
0644
fancy_getopt.cpython-36.opt-2.pyc
7.512 KB
2 Apr 2026 3.01 PM
root / root
0644
fancy_getopt.cpython-36.pyc
10.403 KB
2 Apr 2026 3.01 PM
root / root
0644
file_util.cpython-36.opt-1.pyc
5.759 KB
2 Apr 2026 3.01 PM
root / root
0644
file_util.cpython-36.opt-2.pyc
3.672 KB
2 Apr 2026 3.01 PM
root / root
0644
file_util.cpython-36.pyc
5.759 KB
2 Apr 2026 3.01 PM
root / root
0644
filelist.cpython-36.opt-1.pyc
9.546 KB
2 Apr 2026 3.01 PM
root / root
0644
filelist.cpython-36.opt-2.pyc
6.742 KB
2 Apr 2026 3.01 PM
root / root
0644
filelist.cpython-36.pyc
9.634 KB
2 Apr 2026 3.01 PM
root / root
0644
log.cpython-36.opt-1.pyc
2.245 KB
2 Apr 2026 3.01 PM
root / root
0644
log.cpython-36.opt-2.pyc
2.186 KB
2 Apr 2026 3.01 PM
root / root
0644
log.cpython-36.pyc
2.245 KB
2 Apr 2026 3.01 PM
root / root
0644
msvc9compiler.cpython-36.opt-1.pyc
16.974 KB
2 Apr 2026 3.01 PM
root / root
0644
msvc9compiler.cpython-36.opt-2.pyc
15.395 KB
2 Apr 2026 3.01 PM
root / root
0644
msvc9compiler.cpython-36.pyc
17.035 KB
2 Apr 2026 3.01 PM
root / root
0644
msvccompiler.cpython-36.opt-1.pyc
14.227 KB
2 Apr 2026 3.01 PM
root / root
0644
msvccompiler.cpython-36.opt-2.pyc
12.683 KB
2 Apr 2026 3.01 PM
root / root
0644
msvccompiler.cpython-36.pyc
14.227 KB
2 Apr 2026 3.01 PM
root / root
0644
spawn.cpython-36.opt-1.pyc
4.876 KB
2 Apr 2026 3.01 PM
root / root
0644
spawn.cpython-36.opt-2.pyc
3.603 KB
2 Apr 2026 3.01 PM
root / root
0644
spawn.cpython-36.pyc
4.876 KB
2 Apr 2026 3.01 PM
root / root
0644
sysconfig.cpython-36.opt-1.pyc
11.639 KB
2 Apr 2026 3.01 PM
root / root
0644
sysconfig.cpython-36.opt-2.pyc
8.235 KB
2 Apr 2026 3.01 PM
root / root
0644
sysconfig.cpython-36.pyc
11.639 KB
2 Apr 2026 3.01 PM
root / root
0644
text_file.cpython-36.opt-1.pyc
8.26 KB
2 Apr 2026 3.01 PM
root / root
0644
text_file.cpython-36.opt-2.pyc
3.277 KB
2 Apr 2026 3.01 PM
root / root
0644
text_file.cpython-36.pyc
8.26 KB
2 Apr 2026 3.01 PM
root / root
0644
unixccompiler.cpython-36.opt-1.pyc
6.69 KB
2 Apr 2026 3.01 PM
root / root
0644
unixccompiler.cpython-36.opt-2.pyc
6.076 KB
2 Apr 2026 3.01 PM
root / root
0644
unixccompiler.cpython-36.pyc
6.69 KB
2 Apr 2026 3.01 PM
root / root
0644
util.cpython-36.opt-1.pyc
15.159 KB
2 Apr 2026 3.01 PM
root / root
0644
util.cpython-36.opt-2.pyc
9.24 KB
2 Apr 2026 3.01 PM
root / root
0644
util.cpython-36.pyc
15.159 KB
2 Apr 2026 3.01 PM
root / root
0644
version.cpython-36.opt-1.pyc
7.138 KB
2 Apr 2026 3.01 PM
root / root
0644
version.cpython-36.opt-2.pyc
3.93 KB
2 Apr 2026 3.01 PM
root / root
0644
version.cpython-36.pyc
7.182 KB
2 Apr 2026 3.01 PM
root / root
0644
versionpredicate.cpython-36.opt-1.pyc
4.964 KB
2 Apr 2026 3.01 PM
root / root
0644
versionpredicate.cpython-36.opt-2.pyc
2.542 KB
2 Apr 2026 3.01 PM
root / root
0644
versionpredicate.cpython-36.pyc
4.964 KB
2 Apr 2026 3.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF