1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-22 23:05:08 +00:00
Commit Graph

18 Commits

Author SHA1 Message Date
Tw93
cb2eb1097a fix(analyze): add darwin build tag to all platform-specific files
All files in cmd/analyze/ are macOS-only but several were missing the
//go:build darwin constraint. On Linux (e.g. CodeQL CI), Go compiled
these files without the types defined in main.go (which had the tag),
causing undefined symbol errors for dirEntry, fileEntry, scanResult,
cacheEntry, historyEntry and model.

- Add //go:build darwin to heap.go, cache.go, scanner.go, cleanable.go,
  delete.go, format.go, constants.go and all *_test.go files

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-14 07:46:32 +08:00
tw93
e6829b9a5d fix: improve cache freshness fallback and proxy detection 2026-02-07 17:48:55 +08:00
tw93
a0d5b476d3 fix(analyze): skip virtualization/container mounts to prevent NFS hangs
- Add OrbStack, Colima, Parallels, VMware Fusion, VirtualBox, Rancher Desktop to skip list
- Prevent infinite NFS timeout loops when scanning VM/container mount points
- Fixes #416
2026-02-05 11:40:00 +08:00
Tw93
83166f2fe8 fix: avoid orphan service false positives and warm large file threshold 2026-01-23 20:16:06 +08:00
Tw93
7e359c57d9 fix(analyze): correct top list and thresholds 2026-01-23 18:27:05 +08:00
Tw93
9aa569cbb6 feat: Enhance clean, optimize, analyze, and status commands, and update security audit documentation. 2025-12-31 16:23:31 +08:00
Hensell
23479c61bd feat: add .dart_tool to project purge targets and disk analyzer (#179) 2025-12-28 20:12:22 +08:00
Tw93
5b3c7d3324 feat: add default directory skipping for common system and special directories during analysis. 2025-12-13 21:09:16 +08:00
Tw93
749ed2230b improve analyze scanning performance, UI responsiveness, symlink navigation 2025-12-12 15:01:17 +08:00
Tw93
0123f71842 feat: Parallelize metric collection, enhance app protection with receipt file scanning, and update cleanup tasks 2025-12-12 14:10:01 +08:00
Tw93
8cdf583d85 Uniform color specifications 2025-12-02 14:45:48 +08:00
Tw93
36a84e5211 Reconstruct the structure of go 2025-12-01 19:26:03 +08:00
Tw93
541f52d46e All lists highly support terminal-based high adaptability 2025-11-24 11:20:34 +08:00
Tw93
afb5e94e74 Fix the problem that scanning
multithreading is too radical
2025-11-23 20:19:08 +08:00
Tw93
3766906424 The window is enlarged to 12. 2025-11-21 09:53:46 +08:00
Tw93
45c65345ac Significantly optimize the speed and cache of scanning 2025-11-19 11:53:57 +08:00
Tw93
621b4090a9 Continuously optimize go analysis 2025-11-18 22:00:05 +08:00
Tw93
a900d03bef Refactor Go analysis capabilities 2025-11-18 18:23:33 +08:00