posix ::
stat_result ::
Class stat_result
|
|
Class stat_result
object --+
|
stat_result
stat_result: Result from stat or lstat.
This object may be accessed either as a tuple of
(mode, ino, dev, nlink, uid, gid, size, atime, mtime, ctime)
or via the attributes st_mode, st_ino, st_dev, st_nlink, st_uid, and so on.
Posix/windows: If your platform supports st_blksize, st_blocks, st_rdev,
or st_flags, they are available as attributes only.
See os.stat for more information.
|
|
|
__contains__(x,
y)
y in x |
|
|
|
|
|
|
|
|
|
__getslice__(x,
i,
j)
x[i:j]
Use of negative indices is not supported. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__init__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|
|
n_fields = 16
|
|
n_sequence_fields = 10
|
|
n_unnamed_fields = 3
|
|
st_atime
time of last access
|
|
st_blksize
blocksize for filesystem I/O
|
|
st_blocks
number of blocks allocated
|
|
st_ctime
time of last change
|
|
st_dev
device
|
|
st_gid
group ID of owner
|
|
st_ino
inode
|
|
st_mode
protection bits
|
|
st_mtime
time of last modification
|
|
st_nlink
number of hard links
|
|
st_rdev
device type (if inode device)
|
|
st_size
total size, in bytes
|
|
st_uid
user ID of owner
|
Inherited from object :
__class__
|
__hash__(x)
(Hashing function)
|
|
hash(x)
- Overrides:
object.__hash__
|
- Returns:
a new object with type S, a subtype of T
- Overrides:
object.__new__
|
helper for pickle
- Overrides:
object.__reduce__
- (inherited documentation)
|
__repr__(x)
(Representation operator)
|
|
repr(x)
- Overrides:
object.__repr__
|