Mojo package
stat
File type constants and detection from stat system calls.
The stat package provides constants and utility functions for working with
file metadata from POSIX stat system calls. It defines standard file type bit
masks and predicates for determining file types from mode values. This package
enables portable file type checking across Unix-like systems.
Use this package when working with file system metadata, implementing portable file type detection, or interfacing with POSIX file operations.
Modules
-
stat: Provides constants and functions for interpreting file mode bits.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!