(dir string)
| 37 | } |
| 38 | |
| 39 | func NewSQLiteFileList(dir string) ListInterface { |
| 40 | return &SQLiteFileList{ |
| 41 | dir: dir, |
| 42 | memoryCache: ttlcache.NewCache[zero.Zero](), |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | func (this *SQLiteFileList) SetOldDir(oldDir string) { |
| 47 | this.oldDir = oldDir |