diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2022-11-12 11:18:11 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-11-13 17:14:04 +0100 |
commit | 5dfc1ff5df71a62d9e114a84ac036cf4c2cb8540 (patch) | |
tree | 967397513eef3a8241274c1ad78a2db071ce40b1 /tools.go | |
parent | 1352942056940afb58d4e25d8094c08251fd54de (diff) | |
download | aerc-5dfc1ff5df71a62d9e114a84ac036cf4c2cb8540.tar.gz |
move and archive: common code for common operation
The code of Archive and Move are slightly different, even though they
essentially do the same thing sans the destination and archive always
creating the destination if it doesn't exist. Extract common code into
a function used by both. This will also result in Move now also
respecting next-message-on-delete.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'tools.go')
0 files changed, 0 insertions, 0 deletions