aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_header.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-12 19:00:13 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-12 11:00:13 -0700
commitc5d9af5aa4d9fb20316be45ab1b775bcf61bcad5 (patch)
tree300f7c6814d41ad12ff5665f3f14f24a54c62e4d /hotline/file_header.go
parent72dd37f1abb2b550aaaac48eac677403d5664797 (diff)
More cleanup
Diffstat (limited to 'hotline/file_header.go')
-rw-r--r--hotline/file_header.go9
1 files changed, 0 insertions, 9 deletions
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,