]> git.r.bdr.sh - rbdr/mobius/blame - hotline/file_types.go
Temporarily disable problematic file type codes
[rbdr/mobius] / hotline / file_types.go
CommitLineData
2728d12b
JH
1package hotline
2
3type fileType struct {
4 TypeCode string
5 CreatorCode string
6}
7
8var defaultFileType = fileType{
9 TypeCode: "TEXT",
10 CreatorCode: "TTXT",
11}
12
13var fileTypes = map[string]fileType{
14 "sit": {
15 TypeCode: "SIT!",
16 CreatorCode: "SIT!",
17 },
18 "pdf": {
19 TypeCode: "PDF ",
20 CreatorCode: "CARO",
21 },
4f0150f7
JH
22 // "gif": {
23 // TypeCode: "GIFf",
24 // CreatorCode: "ogle",
25 // },
2728d12b
JH
26 "txt": {
27 TypeCode: "TEXT",
28 CreatorCode: "ttxt",
29 },
30 "zip": {
31 TypeCode: "ZIP ",
32 CreatorCode: "SITx",
33 },
34 "tgz": {
35 TypeCode: "Gzip ",
36 CreatorCode: "SITx",
37 },
4f0150f7
JH
38 // "hqx": {
39 // TypeCode: "TEXT ",
40 // CreatorCode: "SITx",
41 // },
42 // "jpg": {
43 // TypeCode: "JPEG ",
44 // CreatorCode: "ogle",
45 // },
46 // "img": {
47 // TypeCode: "rohd ",
48 // CreatorCode: "ddsk",
49 // },
50 // "sea": {
51 // TypeCode: "APPL ",
52 // CreatorCode: "aust",
53 // },
54 // "mov": {
55 // TypeCode: "MooV ",
56 // CreatorCode: "TVOD",
57 // },
2728d12b 58}