]> Sergey Matveev's repositories - public-inbox.git/commit
imaptracker: add {url} field to reduce args
authorEric Wong <e@yhbt.net>
Sat, 27 Jun 2020 10:03:45 +0000 (10:03 +0000)
committerEric Wong <e@yhbt.net>
Sun, 28 Jun 2020 22:27:21 +0000 (22:27 +0000)
commit5fa10d84517ffe08ac85b13961bdbd20baf3d807
tree124d2c83419411512e8a4bfbfdfa960121987e9b
parent62bb26d307a106d6c9b42e36b583fd04d90a4687
imaptracker: add {url} field to reduce args

Passing a $url parameter to every function was error-prone
and having {url} field for a short-lived object is appropriate.

This matches the version of IMAPTracker posted by
Eric W. Biederman on 2020-05-15 at:
https://public-inbox.org/meta/87ftc0c3r4.fsf_-_@x220.int.ebiederm.org/

The version I originally imported was based on the one
posted on 2019-10-09:
https://public-inbox.org/meta/874l0i9vhc.fsf_-_@x220.int.ebiederm.org/

Cc: Eric W. Biederman <ebiederm@xmission.com>
lib/PublicInbox/IMAPTracker.pm
lib/PublicInbox/WatchMaildir.pm