X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/65c8e978deda9444e051f3ff8decc2b808dae27f..2728d12b6169a978aa3dc2e35390923d2eecd295:/hotline/flattened_file_object.go diff --git a/hotline/flattened_file_object.go b/hotline/flattened_file_object.go index ee8a69b..bd281e0 100644 --- a/hotline/flattened_file_object.go +++ b/hotline/flattened_file_object.go @@ -58,8 +58,8 @@ type FlatFileInformationFork struct { func NewFlatFileInformationFork(fileName string) FlatFileInformationFork { return FlatFileInformationFork{ Platform: []byte("AMAC"), // TODO: Remove hardcode to support "AWIN" Platform (maybe?) - TypeSignature: []byte(fileTypeFromFilename(fileName)), // TODO: Don't infer types from filename - CreatorSignature: []byte(fileCreatorFromFilename(fileName)), // TODO: Don't infer types from filename + TypeSignature: []byte(fileTypeFromFilename(fileName).TypeCode), // TODO: Don't infer types from filename + CreatorSignature: []byte(fileTypeFromFilename(fileName).CreatorCode), // TODO: Don't infer types from filename Flags: []byte{0, 0, 0, 0}, // TODO: What is this? PlatformFlags: []byte{0, 0, 1, 0}, // TODO: What is this? RSVD: make([]byte, 32), // Unimplemented in Hotline Protocol