Staging: this is not the live site, pydocs.org.
Generic Operating System Services
Information about a file returned by os.statx().
Members of statx_result
s
- stx_atime
- Time of most recent access expressed in seconds.
- stx_atime_ns
- Time of most recent access expressed in nanoseconds as an integer.
- stx_attributes
- Bitmask of STATX_ATTR_* constants specifying the attributes of this file.
- stx_attributes_mask
- A mask indicating which bits in stx_attributes are supported by the VFS and the filesystem.
- stx_blksize
- “Preferred” blocksize for efficient file system I/O.
- stx_blocks
- Number of 512-byte blocks allocated for file.
- stx_btime
- Time of file creation expressed in seconds.
- stx_btime_ns
- Time of file creation expressed in nanoseconds as an integer.
- stx_ctime
- Time of most recent metadata change expressed in seconds.
- stx_ctime_ns
- Time of most recent metadata change expressed in nanoseconds as an integer.
- stx_dev
- Identifier of the device on which this file resides.
- stx_dev_major
- Major number of the device on which this file resides.
- stx_dev_minor
- Minor number of the device on which this file resides.
- stx_gid
- Group identifier of the file owner.
- stx_mask
- Bitmask of STATX_* constants specifying the information retrieved, which may differ from what was requested.
- stx_mode
- File mode: file type and file mode bits (permissions).
- stx_mtime
- Time of most recent content modification expressed in seconds.
- stx_mtime_ns
- Time of most recent content modification expressed in nanoseconds as an integer.
- stx_rdev
- Type of device if an inode device.
- stx_size
- Size of the file in bytes, if it is a regular file or a symbolic link.
- stx_uid
- User identifier of the file owner.