diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2019-04-04 18:03:21 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-03-31 15:08:32 (GMT) |
commit | b9c17de023ea50e7be358519141971aa136858ca (patch) | |
tree | 348ecb16aa8ac6193f0a837b3255d4c933b77c68 /Source/cmArchiveWrite.h | |
parent | 206a65c3b8156acc0677a9adb2ab149021f25c20 (diff) | |
download | CMake-b9c17de023ea50e7be358519141971aa136858ca.zip CMake-b9c17de023ea50e7be358519141971aa136858ca.tar.gz CMake-b9c17de023ea50e7be358519141971aa136858ca.tar.bz2 |
cmArchiveWrite: split out opening the file
This allows options to be set before the "header" phase of libarchive's
API.
Diffstat (limited to 'Source/cmArchiveWrite.h')
-rw-r--r-- | Source/cmArchiveWrite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmArchiveWrite.h b/Source/cmArchiveWrite.h index e791761..286d20b 100644 --- a/Source/cmArchiveWrite.h +++ b/Source/cmArchiveWrite.h @@ -62,6 +62,8 @@ public: cmArchiveWrite(const cmArchiveWrite&) = delete; cmArchiveWrite& operator=(const cmArchiveWrite&) = delete; + bool Open(); + /** * Add a path (file or directory) to the archive. Directories are * added recursively. The "path" must be readable on disk, either |