X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/72dd37f1abb2b550aaaac48eac677403d5664797..d492c46d7e2087114d25f64823de9027592d5fc4:/hotline/file_header.go?ds=sidebyside 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,