Special set of functions for work with ini-like .desktop files.
Function set for working with file extended attributes.
Access patterns for file data.
Enumeration of UNIX file types.
Predeclare an access pattern for file data.
Function for copying files and directories.
Checks if the given file exists.
Returns absolute path for any raw path. Trailing slashes are removed.
Gets directories from the directory.
Gets FileType by the file mask obtained from stat field 'mode'.
Gets FileType by stat field 'mode'.
Reads entries of the directory.
Gets regular files from the directory.
High-level function for getting stat_t from file path.
Returns file information as statx_t. Wrapper for low level statx call.
Gets symlinks from the directory.
Creates a new hard link (make a new name for a file, see man 2 link).
Checks if a path is a block device.
Checks if a file is a broken symbolic link is broken (whether indicates a non-existent location).
Checks if a path is a character device.
Checks if a path is a directory.
Checks if a FileEntry object related to a directory.
Checks if the path is an empty directory.
Checks if a path is a pipe file (FIFO).
Checks if a path is a regular file.
Checks if a FileEntry object related to a regular file.
Checks if a path is a socket.
Checks if a path is a symbolic link.
Checks if the file is a symbolic link to a directory. The check is recursive (if the link points to a link).
The function returns file permissions in a string form (like -rwxrwxrwx)
Returns read symlink path. If the symlink points to other symlink, the function returns path of the last symlink of the link chain.
Create a directory only if it doesn't exist.
This function returns information about a file, storing it in the buffer pointed to by statxbuf. System call of Linux 4.11+, see more: man statx This function is used in the high-level FileStat structure type.
Truncate a file to a specified length.
Mask for stat field by default.
See: man statx
Implementation of file list reader. Can be used in foreach as input range, the generator returns FileEntry.
Special type for files as entries in directories. Analogue of the 'dirent' structure type.
A structure for storing and retrieving file information on Linux.
A low-level structure to filling with the 'statx' system call.