Skip to content

Commit

Permalink
more ByMagicErr detections.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Sep 10, 2024
1 parent 7b39212 commit 68d971a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion model/artifacts.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,13 @@ func (f *Artifacts) ByMagicErr(ctx context.Context, exec boil.ContextExecutor, b
"7-zip archive data%", "gzip compressed data%", "ASCII text%", "HTML document%", "Pascal source%", "ISO-8859 text%",
"JPEG image data%", "GIF image data%", "PNG image data%", "PDF document%", "RIFF (little-endian) data%",
"ISO Media%", "Fasttracker II%", "Ogg data%", "Audio file with%", "MPEG ADTS%",
"AIX core file%", "C source,%", "C++ source,%", "FORTRAN program%", "ISO-8859 text, with%",
"AIX core file%", "C source,%", "C++ source,%", "FORTRAN program%", "ISO-8859 text%",
"Little-endian UTF-16%", "MIT scheme%", "MS Windows icon resource%", "Microsoft Cabinet archive data,%",
"Non-ISO extended-ASCII text%", "PC bitmap, Windows 3.x format%", "PCX ver. 3.0 image data%",
"PE32 executable (GUI) Intel 80386%", "PE32 executable (console)%", "Python script%", "Quake I or II world or extension%",
"AmigaGuide file%", "COM executable for%", "DCL command file%", "LHa (%", "MS-DOS executable%", "RFC 822 mail%",
"Rich Text Format data%", "SMTP mail%", "SysEx File%", "UTF-8 Unicode%", "core file (Xenix)%", "diff output,%",
"news or mail,%", "news, ASCII text%", "saved news,%",
}
mods := []qm.QueryMod{
qm.Select(models.FileColumns.UUID, models.FileColumns.ID, models.FileColumns.FileMagicType),
Expand Down

0 comments on commit 68d971a

Please sign in to comment.