stash icon indicating copy to clipboard operation
stash copied to clipboard

Fix panic when fileSize is negative

Open WithoutPants opened this issue 3 years ago • 0 comments

Returns an error if fileSize is zero or negative. Existing behaviour was to return an empty string on empty file, and panic if filesize is negative.

WithoutPants avatar Nov 07 '22 07:11 WithoutPants