mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-13 04:34:04 +02:00
Merge branch 'unix-mode-docs' into 'master'
gfileinfo: Clarify the documentation for G_FILE_ATTRIBUTE_UNIX_MODE See merge request GNOME/glib!1242
This commit is contained in:
@@ -578,8 +578,10 @@ typedef struct _GFileInfoClass GFileInfoClass;
|
|||||||
* G_FILE_ATTRIBUTE_UNIX_MODE:
|
* G_FILE_ATTRIBUTE_UNIX_MODE:
|
||||||
*
|
*
|
||||||
* A key in the "unix" namespace for getting the mode of the file
|
* A key in the "unix" namespace for getting the mode of the file
|
||||||
* (e.g. whether the file is a regular file, symlink, etc). See lstat()
|
* (e.g. whether the file is a regular file, symlink, etc). See the
|
||||||
* documentation. This attribute is only available for UNIX file systems.
|
* documentation for `lstat()`: this attribute is equivalent to the `st_mode`
|
||||||
|
* member of `struct stat`, and includes both the file type and permissions.
|
||||||
|
* This attribute is only available for UNIX file systems.
|
||||||
* Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32.
|
* Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT32.
|
||||||
**/
|
**/
|
||||||
#define G_FILE_ATTRIBUTE_UNIX_MODE "unix::mode" /* uint32 */
|
#define G_FILE_ATTRIBUTE_UNIX_MODE "unix::mode" /* uint32 */
|
||||||
|
Reference in New Issue
Block a user