Skip to content

Commit 825ac5d

Browse files
SteveLauCayangweb
andauthored
feat: file search using spotlight (#705)
Co-authored-by: ayang <[email protected]>
1 parent f21a35e commit 825ac5d

File tree

19 files changed

+1019
-125
lines changed

19 files changed

+1019
-125
lines changed

docs/content.en/docs/release-notes/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Information about release notes of Coco Server is provided here.
1111

1212
### ❌ Breaking changes
1313
### 🚀 Features
14+
- feat: file search using spotlight #705
1415
### 🐛 Bug fix
1516
### ✈️ Improvements
1617

src-tauri/Cargo.lock

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ tauri-plugin-opener = "2"
102102
async-recursion = "1.1.1"
103103
zip = "4.0.0"
104104
url = "2.5.2"
105+
camino = "1.1.10"
105106

106107
[target."cfg(target_os = \"macos\")".dependencies]
107108
tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", branch = "v2" }

src-tauri/rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "nightly-2025-02-28"
2+
channel = "nightly-2025-06-06"

src-tauri/src/extension/built_in/calculator.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,11 @@ impl SearchSource for CalculatorSource {
176176
total_hits: 1,
177177
}
178178
}
179-
Err(_) => {
180-
QueryResponse {
181-
source: query_source,
182-
hits: Vec::new(),
183-
total_hits: 0,
184-
}
185-
}
179+
Err(_) => QueryResponse {
180+
source: query_source,
181+
hits: Vec::new(),
182+
total_hits: 0,
183+
},
186184
}
187185
};
188186

0 commit comments

Comments
 (0)