Skip to main content
Log in

Mojo module

fstat

Implements the file system stat operations.

You can import these APIs from the os package. For example:

from os import stat
from os import stat

Structs

  • stat_result: Object whose fields correspond to the members of the stat structure.

Functions

  • lstat: Get the status of a file or a file descriptor (similar to stat, but does not follow symlinks).
  • stat: Get the status of a file or a file descriptor.