Method

GioFileInfoget_size

Declaration

goffset
g_file_info_get_size (
  GFileInfo* info
)

Description

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.

Return value

Returns: gint64
 

A #goffset containing the file’s size (in bytes).