MONGOC_GRIDFS...T_ABORT_UPLOAD(3)
π MONGOC_GRIDFS_BUCKET_ABORT_UPLOAD(3) π
okay so bestie, welcome to the libmongoc manpage for mongoc_gridfs_bucket_abort_upload β yes that's a long name, no I will not be shortening it, it's giving full government name energy and we respect it π«Ά
β¨ SYNOPSIS β¨
bool
mongoc_gridfs_bucket_abort_upload (mongoc_stream_t *stream);
literally that's it. one function. one bool. icon behaviour honestly π
π PARAMETERS π
streamβ amongoc_stream_tthat you got frommongoc_gridfs_bucket_open_upload_stream()ormongoc_gridfs_bucket_open_upload_stream_with_id(). like, it has to come from one of those two, no random streams, we're not doing that today π
π¦ DESCRIPTION π¦
Aborts the upload of a GridFS upload stream. that's the whole vibe β you're calling it quits on the upload, and this is the function that does the quitting β¨ no cap, that's literally what it's for.
πΈ RETURNS πΈ
Returns true on success π. Returns false otherwise β and when that happens it sets an error on stream, so bestie please check that error, do not just ignore it, that's not the moment to be mysterious π
β SEE ALSO β
mongoc_gridfs_bucket_open_upload_stream()mongoc_gridfs_bucket_open_upload_stream_with_id()
(yes, the two functions from the params section β it's a whole little friend group, they come as a set π«Ά)
π AUTHOR π
MongoDB, Inc β periodt.
π COPYRIGHT π
2009-present, MongoDB, Inc. β iconic longevity, honestly.
and that's the whole page!! π this little beauty shipped as part of libmongoc 2.5.6, dated Oct 09, 2026 β go forth and abort those uploads responsibly, mwah π§π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms