-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextensions.go
61 lines (60 loc) · 2.56 KB
/
extensions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package main
var fileExtentions = map[string]string{
".txt": "Text document",
".env": "Environment variable file",
".conf": "Generic configuration file",
".config": "Generic configuration file",
".cfg": "Generic configuration file",
".kdb": "Keypass database file",
".kdbx": "Keybase database file in XML",
".ini": "Initialization file for program settings",
".inc": "Generic configuration file with headers, declarations, data, etc",
".php": "Hypertext preprocessor file",
".py": "Python file",
".pyc": "Python bytecode",
".js": "JavaScript file",
".json": "JavaScript Object Notation file",
".properties": "Key-value pair file with configurable parameters",
".pem": "Privacy enhanced mail file",
".yaml": "Yet another markup language configuration/data file",
".yml": "Yet another markup language configuration/data file",
".toml": "Tom's obvious minimal language configuration/data file",
".csv": "Comma-seperated values file",
".xml": "Extensible markup languagee file",
".zip": "ZIP compressed file",
".tar": "TAR compressed file",
".tgz": "GNU zip compressed TAR archive",
".tar.gz": "GNU zip compressed TAR archive",
".sh": "Bash script",
".bak": "Backup file",
".backup": "Backup file",
".7z": "7-ZIP compressed file",
".rar": "RAR file",
".z": "Z compressed file",
".db": "Database file",
".sql": "SQL database file",
".email": "Outlook e-mail message file",
".eml": "Generic e-mail message file",
".emlx": "Apple Mail e-mail message file",
".msg": "Microsoft Outlook e-mail message file",
".bat": "Windows Batch file",
".ps1": "Windows PowerShell file",
".tf": "Terraform configuration file",
".xls": "Microsoft Excel file",
".xlsm": "Microsoft Excel file with macros",
".xlsx": "Microsoft Excel Open XML spreadsheet file",
".doc": "Microsoft Word file",
".pdf": "Portable document format file",
".asp": "Active server page file",
".gz": "GNU zip compressed file",
".gzip": "GNU zip compressed file",
".rb": "Ruby file",
".go": "Golang file",
".java": "Java file",
".jar": "Java classes archive file",
".sqlite3": "SQLite 3 database file",
".myd": "MySQL database data file",
".mdf": "SQL Server database file",
".dbf": "Oracle database file",
".enc": "Encrypted file",
}