diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2020-04-02 02:59:52 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2020-04-02 02:59:52 +0200 |
| commit | 327b9ad4985a1939826746c98b44957dd4ca59ce (patch) | |
| tree | 953424b793bb0a701eb4bdbc548e976114718839 /src/cc4group.h | |
| parent | 43b04d71d80d7bbc610eef1bce838cee4cf1631a (diff) | |
| download | cc4group-327b9ad4985a1939826746c98b44957dd4ca59ce.tar.gz cc4group-327b9ad4985a1939826746c98b44957dd4ca59ce.zip | |
Add cc4group.extractSingleRename
Diffstat (limited to 'src/cc4group.h')
| -rw-r--r-- | src/cc4group.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cc4group.h b/src/cc4group.h index d81e84a..a7d2dcc 100644 --- a/src/cc4group.h +++ b/src/cc4group.h @@ -305,9 +305,14 @@ typedef struct { bool (*extractAll)(CC4Group* const this, const char* const targetPath); // extracts only a single file or a sub directory of the group denoted by the entryPath to the targetPath - // the containing directory of the targetPath must exist, but the final targetPath must not exist. otherwise an error will be generated + // the targetPath must exist and be a directory. the entry/ies will be extracted inside the targetPath bool (*extractSingle)(CC4Group* const this, const char* const entryPath, const char* const targetPath); + // extracts only a single file or a sub directory of the group denoted by the entryPath to the targetPath + // the containing directory of the targetPath must exist, but the final targetPath must not exist. otherwise an error will be generated + // the entry denoted by entryPath will be renamed according to the targetPath + bool (*extractSingleRename)(CC4Group* const this, const char* const entryPath, const char* const targetPath); + // retrieval of metadata about the stored files and directories // stores all metadata known about the entry denoted by path into the CC4Group_EntryInfo struct pointed to by info, similar to stat |
