ZIP_SOURCE_ROLLBACK_WRITE(3)

πŸ“¦
version 1.11.4 Β· 4 versions
, in arch rolling, fedora 43, fedora 44, nixpkgs unstable, ubuntu resolute, ubuntu stonking

✨ ZIP_SOURCE_ROLLBACK_WRIT(3) ✨

okay bestie, welcome to the Library Functions Manual πŸ’– this one lives in libzip, and it's lowkey the "nvm bestie, undo it" button for your zip source. let's get into it 🫢


🌸 NAME 🌸

zip_source_rollback_write β€” undo changes to zip source

(it's giving ctrl+z energy and honestly? iconic πŸ’…)


πŸŽ€ LIBRARY πŸŽ€

libzip (-lzip)

link it, love it, live it ✨


πŸ’œ SYNOPSIS πŸ’œ

#include <zip.h>

void
zip_source_rollback_write(zip_source_t *source);

πŸ¦‹ DESCRIPTION πŸ¦‹

so, the function zip_source_rollback_write() reverts changes written to source, restoring the data to the way it was before zip_source_begin_write(3) got called. the way that it rewinds time fr fr 😭

usually this removes temporary files or frees buffers β€” like, cleanup era 🧹✨ no cap.


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, they're all part of the same friend group 🫢🌈


⭐ HISTORY ⭐

zip_source_rollback_write() was added in libzip 1.0 β€” a classic, an OG, a legend πŸ‘‘


πŸ’– AUTHORS πŸ’–

Dieter Baron <dillo@nih.at> and Thomas Klausner <wiz@gatalith.at> β€” the masterminds, the main characters, we stan πŸŽ€


and that's a wrap, bestie πŸ’… this page came to you from Debian, dated November 3, 2021, under the title ZIP_SOURCE_ROLLBACK_WRITE(3) β€” slay, bye, stay hydrated πŸ“πŸ’œ

πŸ“¦ where this page comes from