[glib/1400-g_file_attribute_unix_is_mountpoint-is-false-for-root] fileinfo: document UNIX_IS_MOUNTPOINT being FALSE for /



commit 96e72083e16c9cf250337ae8059fbfa01da6648d
Author: Will Thompson <will willthompson co uk>
Date:   Fri Jun 1 15:43:27 2018 +0100

    fileinfo: document UNIX_IS_MOUNTPOINT being FALSE for /

 gio/gfileinfo.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h
index 4decee346..d22d08d79 100644
--- a/gio/gfileinfo.h
+++ b/gio/gfileinfo.h
@@ -644,7 +644,9 @@ typedef struct _GFileInfoClass   GFileInfoClass;
  *
  * A key in the "unix" namespace for checking if the file represents a
  * UNIX mount point. This attribute is %TRUE if the file is a UNIX mount
- * point. This attribute is only available for UNIX file systems.
+ * point, but is %FALSE at the filesystem root `/` for
+ * backwards-compatibility.
+ * This attribute is only available for UNIX file systems.
  * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
  **/
 #define G_FILE_ATTRIBUTE_UNIX_IS_MOUNTPOINT "unix::is-mountpoint" /* boolean */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]