aboutsummaryrefslogtreecommitdiff
path: root/hotline/file_wrapper.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-21 11:53:13 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-21 11:53:13 -0700
commit67db911d966913ff04ad90018af9a5361a4d8349 (patch)
tree49845c94791f1af54c80aa2ccaf15d13950bef61 /hotline/file_wrapper.go
parent46b48603ea0e69aab8084a3ce32b31995b31b09c (diff)
Cleanup and logging improvements
Diffstat (limited to 'hotline/file_wrapper.go')
-rw-r--r--hotline/file_wrapper.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/hotline/file_wrapper.go b/hotline/file_wrapper.go
index 997d6d9..b59fc5c 100644
--- a/hotline/file_wrapper.go
+++ b/hotline/file_wrapper.go
@@ -105,20 +105,6 @@ func (f *fileWrapper) infoForkName() string {
return fmt.Sprintf(infoForkNameTemplate, f.name)
}
-func (f *fileWrapper) creatorCode() []byte {
- if f.ffo.FlatFileInformationFork.CreatorSignature != nil {
- return f.infoFork.CreatorSignature
- }
- return []byte(fileTypeFromFilename(f.name).CreatorCode)
-}
-
-func (f *fileWrapper) typeCode() []byte {
- if f.infoFork != nil {
- return f.infoFork.TypeSignature
- }
- return []byte(fileTypeFromFilename(f.name).TypeCode)
-}
-
func (f *fileWrapper) rsrcForkWriter() (io.Writer, error) {
file, err := os.OpenFile(f.rsrcPath, os.O_CREATE|os.O_WRONLY, 0644)
if err != nil {