spacedrive/apps/desktop
Consoli 26b6baffb6
Extend indexer rules with .gitignore when available (#2459)
* Extend indexer rules with `.gitignore` when available

* Make indexer accounts for valid git  repos when reading ignore files

* Ignore poorly formatted gitignore rules

* Reduce allocation in gitignore indexer rules

* Fix tests for gitignore indexer rules

* Remove code duplication

* Remove double call to git rules

* Improve doc for todo

* rustfmt

* Skip star rules that matches a negated pattern when parsing gitignore

* Skip conflicting glob rules

* Rename and remove print

* Make git ignore indexer consider multiple paths

* Use gix_ignore to handle gitignore rules

* Fix gitignore patterns relative to git repo

* Git indexer also consider nested repos

* Create a dedicated type for rules coming from git

* Consider every gitignore file inside a git repo

* Add IgnoredByGit to interface

* Add Gitignore system IndexerRule to allow front-end to toggle GitIgnoreRules
 - Make IndexerRules names unique
 - CLippy fmt

* Fix migration concat

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-05-17 06:28:12 +00:00
..
crates Fix macOS bugs (#2472) 2024-05-12 06:55:26 +00:00
dist keep dist folder in desktop 2022-08-19 09:03:47 +08:00
src Fix login in Tauri v2 (#2493) 2024-05-16 14:23:34 +00:00
src-tauri Extend indexer rules with .gitignore when available (#2459) 2024-05-17 06:28:12 +00:00
.eslintrc.cjs Vite upgrades (#1911) 2024-01-02 06:26:28 +00:00
app-icon.png Improve prod bundle size (#2447) 2024-05-07 19:32:34 +00:00
package.json Fix macOS bugs (#2472) 2024-05-12 06:55:26 +00:00
postcss.config.cjs Vite upgrades (#1911) 2024-01-02 06:26:28 +00:00
tailwind.config.js holy mother of hot reload 2022-04-20 01:15:28 -07:00
tsconfig.json [ENG-380] Interface code structure improvement (#581) 2023-02-27 21:29:48 -08:00
vite.config.ts Improve prod bundle size (#2447) 2024-05-07 19:32:34 +00:00