Merge branch 'gio/gfileinfo/g_file_info_get_size/documentation' into 'master'

Improving documentation for g_file_info_get_size, fixing #2333

Closes #2333

See merge request GNOME/glib!1964
This commit is contained in:
Sebastian Dröge 2021-02-26 08:29:19 +00:00
commit 81c4f4de4d

View File

@ -1733,9 +1733,11 @@ g_file_info_get_content_type (GFileInfo *info)
* g_file_info_get_size:
* @info: a #GFileInfo.
*
* Gets the file's size.
* Gets the file's size (in bytes). The size is retrieved through the value of
* the %G_FILE_ATTRIBUTE_STANDARD_SIZE attribute and is converted
* from #guint64 to #goffset before returning the result.
*
* Returns: a #goffset containing the file's size.
* Returns: a #goffset containing the file's size (in bytes).
**/
goffset
g_file_info_get_size (GFileInfo *info)