$65 GRAYBYTE WORDPRESS FILE MANAGER $90

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/python27/lib64/python2.7/distutils/

HOME
Current File : /opt/alt/python27/lib64/python2.7/distutils//dir_util.pyc
�
�V~gc@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((s7/opt/alt/python27/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((s7/opt/alt/python27/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((s7/opt/alt/python27/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((s7/opt/alt/python27/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!((s7/opt/alt/python27/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((s7/opt/alt/python27/lib64/python2.7/distutils/dir_util.pytensure_relative�s(t__doc__t__revision__RRtdistutils.errorsRRt	distutilsRR
R"R,R6RDRNRR(((s7/opt/alt/python27/lib64/python2.7/distutils/dir_util.pyt<module>s?D	



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 Jan 2025 9.37 AM
root / linksafe
0755
command
--
24 Jan 2025 9.37 AM
root / linksafe
0755
README
0.288 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.py
0.23 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyc
0.418 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyo
0.418 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
archive_util.py
8.026 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
archive_util.pyc
7.524 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
archive_util.pyo
7.524 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bcppcompiler.py
14.591 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bcppcompiler.pyc
7.812 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bcppcompiler.pyo
7.812 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ccompiler.py
45.631 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ccompiler.pyc
36.716 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ccompiler.pyo
36.578 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cmd.py
18.818 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cmd.pyc
16.88 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cmd.pyo
16.88 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
config.py
4.037 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
config.pyc
3.57 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
config.pyo
3.57 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
core.py
8.808 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
core.pyc
7.41 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
core.pyo
7.41 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cygwinccompiler.py
17.319 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cygwinccompiler.pyc
9.747 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cygwinccompiler.pyo
9.747 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
debug.py
0.158 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
debug.pyc
0.261 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
debug.pyo
0.261 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dep_util.py
3.427 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dep_util.pyc
3.156 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dep_util.pyo
3.156 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dir_util.py
7.684 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dir_util.pyc
6.716 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dir_util.pyo
6.716 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dist.py
48.876 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dist.pyc
39.108 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dist.pyo
39.108 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
emxccompiler.py
11.651 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
emxccompiler.pyc
7.406 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
emxccompiler.pyo
7.406 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
errors.py
3.412 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
errors.pyc
6.392 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
errors.pyo
6.392 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
extension.py
10.648 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
extension.pyc
7.289 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
extension.pyo
7.068 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
fancy_getopt.py
17.527 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
fancy_getopt.pyc
11.944 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
fancy_getopt.pyo
11.771 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
file_util.py
7.94 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
file_util.pyc
6.655 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
file_util.pyo
6.655 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
filelist.py
12.392 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
filelist.pyc
10.72 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
filelist.pyo
10.72 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
log.py
1.646 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
log.pyc
2.873 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
log.pyo
2.873 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
msvc9compiler.py
30.277 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
msvc9compiler.pyc
21.387 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
msvc9compiler.pyo
21.315 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
msvccompiler.py
23.083 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
msvccompiler.pyc
17.444 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
msvccompiler.pyo
17.444 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
spawn.py
8.445 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
spawn.pyc
6.365 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
spawn.pyo
6.365 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sysconfig.py
17.292 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sysconfig.py.debug-build
17.209 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sysconfig.pyc
13.29 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sysconfig.pyo
13.29 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
text_file.py
12.137 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
text_file.pyc
9.182 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
text_file.pyo
9.182 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
unixccompiler.py
13.889 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
unixccompiler.py.distutils-rpath
13.356 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
unixccompiler.pyc
8.188 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
unixccompiler.pyo
8.188 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.py
17.809 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.pyc
14.227 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.pyo
14.227 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
version.py
11.165 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
version.pyc
7.229 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
version.pyo
7.229 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
versionpredicate.py
4.976 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
versionpredicate.pyc
5.501 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
versionpredicate.pyo
5.501 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF