The path_filestat_get()
function allows accessing metadata Filestat for a file or directory specified by a path relative to the given directory. It retrieves information such as the size, timestamps, and file type.
On POSIX systems, a similar functionality is provided by the stat()
or lstat()
functions, depending on whether symbolic links should be followed or not. These functions retrieve information about a file or symbolic link and store it in a struct stat
object.
Note
The path_filestat_get()
function allows accessing metadata (file statistics) for a file or directory specified by a path relative to the given directory. It checks if the specified directory has the necessary rights and retrieves the file statistics accordingly. On POSIX systems, a similar functionality is provided by the stat()
or lstat()
functions.