aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_header.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/file_header.go')
-rw-r--r--hotline/file_header.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hotline/file_header.go b/hotline/file_header.go
index 60c652e..61b8e28 100644
--- a/hotline/file_header.go
+++ b/hotline/file_header.go
@@ -2,7 +2,7 @@ package hotline
import (
"encoding/binary"
- "github.com/jhalter/mobius/concat"
+ "slices"
)
type FileHeader struct {
@@ -28,7 +28,7 @@ func NewFileHeader(fileName string, isDir bool) FileHeader {
}
func (fh *FileHeader) Payload() []byte {
- return concat.Slices(
+ return slices.Concat(
fh.Size,
fh.Type,
fh.FilePath,