Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(28)

Side by Side Diff: Lib/stat.py

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Lib/ssl.py ('k') | Lib/subprocess.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 """Constants/functions for interpreting results of os.stat() and os.lstat(). 1 """Constants/functions for interpreting results of os.stat() and os.lstat().
2 2
3 Suggested usage: from stat import * 3 Suggested usage: from stat import *
4 """ 4 """
5 5
6 # Indices for stat struct members in the tuple returned by os.stat() 6 # Indices for stat struct members in the tuple returned by os.stat()
7 7
8 ST_MODE = 0 8 ST_MODE = 0
9 ST_INO = 1 9 ST_INO = 1
10 ST_DEV = 2 10 ST_DEV = 2
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 S_IWOTH = 0o0002 80 S_IWOTH = 0o0002
81 S_IXOTH = 0o0001 81 S_IXOTH = 0o0001
82 82
83 # Names for file flags 83 # Names for file flags
84 84
85 UF_NODUMP = 0x00000001 85 UF_NODUMP = 0x00000001
86 UF_IMMUTABLE = 0x00000002 86 UF_IMMUTABLE = 0x00000002
87 UF_APPEND = 0x00000004 87 UF_APPEND = 0x00000004
88 UF_OPAQUE = 0x00000008 88 UF_OPAQUE = 0x00000008
89 UF_NOUNLINK = 0x00000010 89 UF_NOUNLINK = 0x00000010
90 UF_COMPRESSED = 0x00000020 # OS X: file is hfs-compressed
91 UF_HIDDEN = 0x00008000 # OS X: file should not be displayed
92 SF_ARCHIVED = 0x00010000 90 SF_ARCHIVED = 0x00010000
93 SF_IMMUTABLE = 0x00020000 91 SF_IMMUTABLE = 0x00020000
94 SF_APPEND = 0x00040000 92 SF_APPEND = 0x00040000
95 SF_NOUNLINK = 0x00100000 93 SF_NOUNLINK = 0x00100000
96 SF_SNAPSHOT = 0x00200000 94 SF_SNAPSHOT = 0x00200000
OLDNEW
« no previous file with comments | « Lib/ssl.py ('k') | Lib/subprocess.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+