Refactor scan_incoming as helper for gather_packets
authorJacob Bachmeyer <jcb@gnu.org>
Sun, 16 Oct 2022 00:39:40 +0000 (19:39 -0500)
committerJacob Bachmeyer <jcb@gnu.org>
Sun, 16 Oct 2022 00:39:40 +0000 (19:39 -0500)
commitadd3f3399509cea26784ac66fc41edceef97f789
tree5aa1ec8b797d126eb6ed8ee0c03242563c6bb7ea
parent90ac964f0e68695eb149abedc025f60dae985896
Refactor scan_incoming as helper for gather_packets

The old scan_incoming function was very long and performed two related
but distinct tasks:  collecting a list of files eligible for processing
and collecting those files into packets.  The new scan_incoming now only
produces a list of files; the second loop to collect files into packets
has been moved to a new gather_packets function.
gatekeeper.pl