From b1a2ab25856ec14b042da9fec49c453c6dad95e5 Mon Sep 17 00:00:00 2001 From: jakka Date: Sun, 13 Apr 2025 13:59:04 +0300 Subject: switched to rosedb, it actually works! stopped using goroutines for file indexing since its slower --- files/types.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'files/types.go') diff --git a/files/types.go b/files/types.go index 87ae6e1..7bb2f42 100644 --- a/files/types.go +++ b/files/types.go @@ -2,7 +2,6 @@ package files import ( "errors" - "time" ) var ( @@ -12,8 +11,7 @@ var ( ) type FileInfo struct { - AbsPath string `json:"abspath"` - Modtime time.Time `json:"modtime"` - Encoder string `json:"encoder"` - Process bool `json:"process"` + AbsPath string `json:"abspath"` + Encoder string `json:"encoder"` + Process bool `json:"process"` } -- cgit v1.3.1