tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
L\¬Qc@s‘dZddlZddlZddddddd    d
gZd „Zd „Zd „Zd„Zd„Zd„Z    d„Z
d„Z d„Z dS(s˜
Path operations common to more than one OS
Do not use directly.  The OS specific modules import the appropriate
functions from this module themselves.
iÿÿÿÿNt commonprefixtexiststgetatimetgetctimetgetmtimetgetsizetisdirtisfilecCs-ytj|ƒWntjk
r(tSXtS(sDTest whether a path exists.  Returns False for broken symbolic links(toststatterrortFalsetTrue(tpath((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyRs
cCs;ytj|ƒ}Wntjk
r*tSXtj|jƒS(s%Test whether a path is a regular file(RR    R
R tS_ISREGtst_mode(R tst((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyRs
cCs;ytj|ƒ}Wntjk
r*tSXtj|jƒS(s<Return true if the pathname refers to an existing directory.(RR    R
R tS_ISDIRR(tsR((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyR&s
cCstj|ƒjS(s1Return the size of a file, reported by os.stat().(RR    tst_size(tfilename((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyR/scCstj|ƒjS(sCReturn the last modification time of a file, reported by os.stat().(RR    tst_mtime(R((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyR4scCstj|ƒjS(s=Return the last access time of a file, reported by os.stat().(RR    tst_atime(R((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyR9scCstj|ƒjS(sAReturn the metadata change time of a file, reported by os.stat().(RR    tst_ctime(R((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyR>scCs[|s
dSt|ƒ}t|ƒ}x2t|ƒD]$\}}|||kr/|| Sq/W|S(sGGiven a list of pathnames, returns the longest common leading componentt(tmintmaxt    enumerate(tmts1ts2titc((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyRDs   cCs§|j|ƒ}|r6|j|ƒ}t||ƒ}n|j|ƒ}||kr|d}x?||kr™|||krŒ|| ||fS|d7}q^Wn|dfS(s¤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.iR(trfindR(tptseptaltseptextseptsepIndext altsepIndextdotIndext filenameIndex((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyt    _splitextUs 
( t__doc__RR    t__all__RRRRRRRRR*(((sS/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/genericpath.pyt<module>s