const char *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_GRIDFS_FILE_GET_CONTENT_TYPE(3)
Description
Fetches the content type specified for the underlying file.
Parameters
• file: A mongoc_gridfs_file_t.
Returns
Returns a string which should not be modified or freed.
Synopsis
const char *
mongoc_gridfs_file_get_content_type (mongoc_gridfs_file_t *file);
