diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-08-22 15:01:29 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-08-23 20:36:58 -0400 |
commit | c91bc52770ac697f0a2fb0069257c3af27962e3c (patch) | |
tree | 9de0cc698a3f2a432b643a08b38e3b447bc506c1 /tests | |
parent | 2bfa70174cc766a6cf73eb403ef6c88b147c2919 (diff) | |
download | piem-c91bc52770ac697f0a2fb0069257c3af27962e3c.tar.gz |
inject: Support skipping messages
piem-inject-thread-into-maildir allows pulling a thread from a
public-inbox URL, but repeating the process to get new messages in the
thread leads to duplicates in the local store. Add a predicate that
the caller can configure to avoid this.
Note that the predicate has the entire message available to make its
decision, but it's called with the message ID for convenience because
that's likely the only information needed to determine if the message
is already in the local store.
Message-Id: <20200822190130.20397-3-kyle@kyleam.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions