docs: Clarify %NULL argument to ostree_sysroot_new()
authorPhilip Withnall <withnall@endlessm.com>
Wed, 4 Oct 2017 11:17:31 +0000 (12:17 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 4 Oct 2017 12:54:23 +0000 (12:54 +0000)
It’s equivalent to ostree_sysroot_new_default().

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1246
Approved by: cgwalters

src/libostree/ostree-sysroot.c

index fe61a12e3013884c30d99613d9668f644a102a93..b49b4277ea44e62a783c42b77fecef6430b8b9a4 100644 (file)
@@ -201,7 +201,12 @@ ostree_sysroot_init (OstreeSysroot *self)
 
 /**
  * ostree_sysroot_new:
- * @path: (allow-none): Path to a system root directory, or %NULL
+ * @path: (allow-none): Path to a system root directory, or %NULL to use the
+ *   current visible root file system
+ *
+ * Create a new #OstreeSysroot object for the sysroot at @path. If @path is %NULL,
+ * the current visible root file system is used, equivalent to
+ * ostree_sysroot_new_default().
  *
  * Returns: (transfer full): An accessor object for an system root located at @path
  */