perkeep/internal
U-GINA-PC\gina 8e56f1b305 Reduce dependency on OS in determining if file is video.
Introduce magic.IsVideoFileName, add test for it.

Fixes this error:

--- FAIL: TestIsVideo (0.08s)
    search_test.go:41: IsVideo failed video=true filename=movie.mkv mimetype=application/octet-stream
FAIL
FAIL	perkeep.org/pkg/types/camtypes	0.399s

Discussion about this problem is here:
https://groups.google.com/forum/#!topic/perkeep/Wdb_0Os6ZkY

Change-Id: I14f54bd60c9495d6aa665036b83c813673608ad7
2019-04-02 09:56:09 -07:00
..
azure/storage all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
chanworker all: rename remaining occurrences of camput 2018-04-21 16:20:24 -07:00
closure all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
geocode internal/geocode: use viewport if bounds is not defined 2018-08-23 19:39:47 +02:00
gpgagent all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
hashutil all: make server advertise when it has legacy SHA-1 indexes, use that info 2018-01-31 01:10:52 +01:00
httputil all: rename remaining occurrences of camput 2018-04-21 16:20:24 -07:00
images all: Windows fixes (don't listen on file descriptors in test.World, etc) 2018-05-01 21:38:19 -07:00
leak all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
lru blobserver: change BlobStatter interface, simplify proxycache 2018-01-08 16:54:52 -08:00
magic Reduce dependency on OS in determining if file is video. 2019-04-02 09:56:09 -07:00
media all: various lint fixes 2018-02-05 11:59:00 -08:00
netutil all: various lint fixes 2018-02-05 11:59:00 -08:00
osutil perkeepd, serverinit, gce: opaque-ify serverinit.Config, trim camlistored.go 2018-05-13 15:50:10 -07:00
pinentry all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
pools Move some packages from perkeep.org/pkg to perkeep.org/internal 2018-01-01 20:54:48 -08:00
testhooks all: make server advertise when it has legacy SHA-1 indexes, use that info 2018-01-31 01:10:52 +01:00
video/thumbnail internal: fix compilation errors in tests 2018-05-01 12:31:33 -07:00