ZIP_SOURCE_ROLLBACK_WRITE(3)
β¨ 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 π
libzip(3)zip_source(5)zip_source_begin_write(3)zip_source_commit_write(3)zip_source_seek_write(3)zip_source_tell_write(3)zip_source_write(3)
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
- arch rolling: libzip 1.11.4-1 Β· BSD
- fedora 43: libzip-devel 1.11.4-2.fc43 Β· BSD-3-Clause
- fedora 43: libzip-devel 1.11.4-2.fc43 Β· BSD-3-Clause
- fedora 44: libzip-devel 1.11.4-3.fc44 Β· BSD-3-Clause
- fedora 44: libzip-devel 1.11.4-3.fc44 Β· BSD-3-Clause
- nixpkgs unstable: libzip 1.11.4
- ubuntu resolute: libzip-dev 1.11.4-2 Β· BSD-3-Clause
- ubuntu stonking: libzip-dev 1.11.4-2build1 Β· BSD-3-Clause
- Copyright (C) 2014-2022 Dieter Baron and Thomas Klausner
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms