summaryrefslogtreecommitdiff
path: root/files/types.go
diff options
context:
space:
mode:
authorjakka <jakkadoujin@gmail.com>2025-04-13 13:59:04 +0300
committerjakka <jakkadoujin@gmail.com>2025-04-13 13:59:04 +0300
commitb1a2ab25856ec14b042da9fec49c453c6dad95e5 (patch)
tree723023a0be1bfc4bb20b5b9a9becfc6a14f6bf6b /files/types.go
parent04f0578da42d11cc6e5b98450c1018dde8c49737 (diff)
switched to rosedb, it actually works! stopped using goroutines for file indexing since its slower
Diffstat (limited to 'files/types.go')
-rw-r--r--files/types.go8
1 files changed, 3 insertions, 5 deletions
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"`
}