use NonEmpty for dirHashes
authorJoey Hess <joeyh@joeyh.name>
Thu, 26 Sep 2024 22:15:00 +0000 (18:15 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 26 Sep 2024 22:15:00 +0000 (18:15 -0400)
commit10216b44d24c4050c449301d37889dba40ddaa42
tree0aef652287ef76f207045067833be309b43c4de6
parent43f31121a57d99cd9c774762c8417df6e2b16fab
use NonEmpty for dirHashes

This avoids 4 uses of head.
Annex/DirHashes.hs
Annex/Locations.hs
Assistant/Gpg.hs
Remote/Bup.hs
Remote/Directory.hs
Remote/Rsync.hs
Remote/Rsync/RsyncUrl.hs
Test.hs