Add TypeEbook. Clarify documentation on File Type and File Format.

This commit is contained in:
Kleissner
2021-09-15 16:25:09 +02:00
parent 95640fede3
commit 16e9c0e67f
4 changed files with 11 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ Definition of all recognized file formats. This file is likely being updated mor
package core
// Low-level content types of file data. This is a copy from Intelligence X.
// General content types of data.
const (
TypeBinary = iota // Binary/unspecified
TypeText // Plain text
@@ -20,9 +20,10 @@ const (
TypeContainer // Container files like ZIP, RAR, TAR
TypeCompressed // Compressed files like GZ, BZ
TypeFolder // Virtual folder
TypeEbook // Ebook
)
// High-level file types. New ones may be added as required.
// File formats. New ones may be added to the list as required.
const (
FormatBinary = iota // Binary/unspecified
FormatPDF // PDF document