-8
cli/Cargo.lock
-8
cli/Cargo.lock
···
1753
1753
[[package]]
1754
1754
name = "jacquard"
1755
1755
version = "0.9.3"
1756
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1757
1756
dependencies = [
1758
1757
"bytes",
1759
1758
"getrandom 0.2.16",
···
1783
1782
[[package]]
1784
1783
name = "jacquard-api"
1785
1784
version = "0.9.2"
1786
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1787
1785
dependencies = [
1788
1786
"bon",
1789
1787
"bytes",
···
1801
1799
[[package]]
1802
1800
name = "jacquard-common"
1803
1801
version = "0.9.2"
1804
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1805
1802
dependencies = [
1806
1803
"base64 0.22.1",
1807
1804
"bon",
···
1843
1840
[[package]]
1844
1841
name = "jacquard-derive"
1845
1842
version = "0.9.3"
1846
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1847
1843
dependencies = [
1848
1844
"heck 0.5.0",
1849
1845
"jacquard-lexicon",
···
1855
1851
[[package]]
1856
1852
name = "jacquard-identity"
1857
1853
version = "0.9.2"
1858
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1859
1854
dependencies = [
1860
1855
"bon",
1861
1856
"bytes",
···
1881
1876
[[package]]
1882
1877
name = "jacquard-lexicon"
1883
1878
version = "0.9.2"
1884
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1885
1879
dependencies = [
1886
1880
"cid",
1887
1881
"dashmap",
···
1907
1901
[[package]]
1908
1902
name = "jacquard-oauth"
1909
1903
version = "0.9.2"
1910
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
1911
1904
dependencies = [
1912
1905
"base64 0.22.1",
1913
1906
"bytes",
···
2232
2225
[[package]]
2233
2226
name = "mini-moka"
2234
2227
version = "0.10.99"
2235
-
source = "git+https://tangled.org/@nonbinary.computer/jacquard#324cbb45078fe2f77b60ae2bd7765c5306ec8b5e"
2236
2228
dependencies = [
2237
2229
"crossbeam-channel",
2238
2230
"crossbeam-utils",
+48
-1
cli/src/main.rs
+48
-1
cli/src/main.rs
···
475
475
.ok_or_else(|| miette::miette!("Invalid filename: {:?}", name))?
476
476
.to_string();
477
477
478
-
// Skip .git directories
478
+
// Skip unwanted files and directories
479
+
480
+
// .git directory (version control - thousands of files)
479
481
if name_str == ".git" {
482
+
continue;
483
+
}
484
+
485
+
// .DS_Store (macOS metadata - can leak info)
486
+
if name_str == ".DS_Store" {
487
+
continue;
488
+
}
489
+
490
+
// .env files (environment variables with secrets)
491
+
if name_str.starts_with(".env") {
492
+
continue;
493
+
}
494
+
495
+
// node_modules (dependency folder - can be 100,000+ files)
496
+
if name_str == "node_modules" {
497
+
continue;
498
+
}
499
+
500
+
// OS metadata files
501
+
if name_str == "Thumbs.db" || name_str == "desktop.ini" || name_str.starts_with("._") {
502
+
continue;
503
+
}
504
+
505
+
// macOS system directories
506
+
if name_str == ".Spotlight-V100" || name_str == ".Trashes" || name_str == ".fseventsd" {
507
+
continue;
508
+
}
509
+
510
+
// Cache and temp directories
511
+
if name_str == ".cache" || name_str == ".temp" || name_str == ".tmp" {
512
+
continue;
513
+
}
514
+
515
+
// Python cache
516
+
if name_str == "__pycache__" || name_str.ends_with(".pyc") {
517
+
continue;
518
+
}
519
+
520
+
// Python virtual environments
521
+
if name_str == ".venv" || name_str == "venv" || name_str == "env" {
522
+
continue;
523
+
}
524
+
525
+
// Editor swap files
526
+
if name_str.ends_with(".swp") || name_str.ends_with(".swo") || name_str.ends_with("~") {
480
527
continue;
481
528
}
482
529