mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 12:28:09 +01:00
bfe66da432
sup is the old format, and remains the default, at least until restore is converted to parse this format. Each line of the batch-tag format is modelled on the syntax of notmuch tag: - "notmuch tag" is omitted from the front of the line - The dump format only uses query strings of a single message-id. - Each space seperated tag/message-id is 'hex-encoded' to remove trouble-making characters. - It is permitted (and will be useful) for there to be no tags before the query. In particular this format won't have the same problem with e.g. spaces in message-ids or tags; they will be round-trip-able.
13 lines
246 B
C
13 lines
246 B
C
#ifndef DUMP_RESTORE_PRIVATE_H
|
|
#define DUMP_RESTORE_PRIVATE_H
|
|
|
|
#include "hex-escape.h"
|
|
#include "command-line-arguments.h"
|
|
|
|
typedef enum dump_formats {
|
|
DUMP_FORMAT_AUTO,
|
|
DUMP_FORMAT_BATCH_TAG,
|
|
DUMP_FORMAT_SUP
|
|
} dump_format_t;
|
|
|
|
#endif
|