From c5d9af5aa4d9fb20316be45ab1b775bcf61bcad5 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Thu, 12 Aug 2021 19:00:13 -0700 Subject: More cleanup --- hotline/file_header.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'hotline/file_header.go') diff --git a/hotline/file_header.go b/hotline/file_header.go index 7e0df16..60c652e 100644 --- a/hotline/file_header.go +++ b/hotline/file_header.go @@ -27,15 +27,6 @@ func NewFileHeader(fileName string, isDir bool) FileHeader { return fh } -func (fh *FileHeader) Read(p []byte) (n int, err error) { - p = concat.Slices( - fh.Size, - fh.Type, - fh.FilePath, - ) - return len(p), nil -} - func (fh *FileHeader) Payload() []byte { return concat.Slices( fh.Size, -- cgit