HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python34/lib64/python3.4/__pycache__/genericpath.cpython-34.pyo
�
� f*�@s�dZddlZddlZddddddd	d
ddd
gZdd�Zdd
�Zdd	�Zdd�Zdd�Zdd�Z	dd�Z
dd�Zdd
�Zdd�Z
dd�Zdd�ZdS)z�
Path operations common to more than one OS
Do not use directly.  The OS specific modules import the appropriate
functions from this module themselves.
�N�commonprefix�exists�getatime�getctime�getmtime�getsize�isdir�isfile�samefile�sameopenfile�samestatcCs.ytj|�Wntk
r)dSYnXdS)zDTest whether a path exists.  Returns False for broken symbolic linksFT)�os�stat�OSError)�path�r�0/opt/alt/python34/lib64/python3.4/genericpath.pyrs

	cCs<ytj|�}Wntk
r+dSYnXtj|j�S)z%Test whether a path is a regular fileF)r
rr�S_ISREG�st_mode)r�strrrr	s

	cCs<ytj|�}Wntk
r+dSYnXtj|j�S)z<Return true if the pathname refers to an existing directory.F)r
rr�S_ISDIRr)�srrrrr's

	cCstj|�jS)z1Return the size of a file, reported by os.stat().)r
r�st_size)�filenamerrrr0scCstj|�jS)zCReturn the last modification time of a file, reported by os.stat().)r
r�st_mtime)rrrrr5scCstj|�jS)z=Return the last access time of a file, reported by os.stat().)r
r�st_atime)rrrrr:scCstj|�jS)zAReturn the metadata change time of a file, reported by os.stat().)r
r�st_ctime)rrrrr?scCsa|s
dSt|�}t|�}x8t|�D]*\}}|||kr/|d|�Sq/W|S)zGGiven a list of pathnames, returns the longest common leading component�N)�min�max�	enumerate)�m�s1�s2�i�crrrrEscCs"|j|jko!|j|jkS)z5Test whether two stat buffers reference the same file)�st_ino�st_dev)r"r#rrrrQscCs+tj|�}tj|�}t||�S)z9Test whether two pathnames reference the same actual file)r
rr)�f1�f2r"r#rrrr
XscCs+tj|�}tj|�}t||�S)z:Test whether two open file objects reference the same file)r
�fstatr)�fp1�fp2r"r#rrrrascCs�|j|�}|r6|j|�}t||�}n|j|�}||kr�|d}xU||kr�|||d�|kr�|d|�||d�fS|d7}q^Wn||dd�fS)z�Split the extension from a pathname.

    Extension is everything from the last dot to the end, ignoring
    leading dots.  Returns "(root, ext)"; ext may be empty.�Nr)�rfindr)�p�sep�altsep�extsep�sepIndex�altsepIndex�dotIndex�
filenameIndexrrr�	_splitextos
r7)�__doc__r
r�__all__rr	rrrrrrrr
rr7rrrr�<module>s"