read a consistent amount from pointer file
authorJoey Hess <joeyh@joeyh.name>
Wed, 23 Feb 2022 16:38:35 +0000 (12:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 23 Feb 2022 16:52:34 +0000 (12:52 -0400)
commit5b373a9dd27ebe025809988562f001cb50b37ce8
treef55e1ed464ae086405d25a2a3bee9b1fe344e944
parent4cd9325c2ceedd55d94a6a5aff330686f746f21c
read a consistent amount from pointer file

A few places were reading the max symlink size of a pointer file,
then passing tp parseLinkTargetOrPointer. Which is fine currently, but
to support pointer files with lines of data after the pointer, enough
has to be read that parseLinkTargetOrPointer can be assured of seeing
enough of that data to know if it's correctly formatted.

Sponsored-by: Dartmouth College's Datalad project
Annex/CatFile.hs
Annex/Link.hs
CmdLine/Seek.hs
Command/FilterProcess.hs
Database/Keys.hs