diff options
| author | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-05-25 19:57:23 -0700 |
|---|---|---|
| committer | Jeff Halter <868228+jhalter@users.noreply.github.com> | 2022-05-25 19:57:23 -0700 |
| commit | 5218c7823d91f5c8910813b02b41bda3de9f9c6e (patch) | |
| tree | da18c1a90c1aff1da9af384b09e68a4040e95c6b /hotline | |
| parent | 5433ca327290cc235c1524a4e64b32a4b45f6d99 (diff) | |
Remove placeholder file comment
Diffstat (limited to 'hotline')
| -rw-r--r-- | hotline/flattened_file_object.go | 4 | ||||
| -rw-r--r-- | hotline/transaction_handlers_test.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/hotline/flattened_file_object.go b/hotline/flattened_file_object.go index 0a14df0..2cafbc9 100644 --- a/hotline/flattened_file_object.go +++ b/hotline/flattened_file_object.go @@ -67,8 +67,8 @@ func NewFlatFileInformationFork(fileName string, modifyTime []byte) FlatFileInfo ModifyDate: modifyTime, NameScript: make([]byte, 2), // TODO: What is this? Name: []byte(fileName), - CommentSize: []byte{0, 4}, - Comment: []byte("TODO"), // TODO: implement (maybe?) + CommentSize: []byte{0, 0}, + Comment: []byte{}, // TODO: implement (maybe?) } } diff --git a/hotline/transaction_handlers_test.go b/hotline/transaction_handlers_test.go index b734049..21643bf 100644 --- a/hotline/transaction_handlers_test.go +++ b/hotline/transaction_handlers_test.go @@ -494,7 +494,7 @@ func TestHandleGetFileInfo(t *testing.T) { NewField(fieldFileName, []byte("testfile.txt")), NewField(fieldFileTypeString, []byte("TEXT")), NewField(fieldFileCreatorString, []byte("ttxt")), - NewField(fieldFileComment, []byte("TODO")), + NewField(fieldFileComment, []byte{}), NewField(fieldFileType, []byte("TEXT")), NewField(fieldFileCreateDate, make([]byte, 8)), NewField(fieldFileModifyDate, make([]byte, 8)), |