mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 15:19:16 +00:00
* fix: filter dotfiles as hidden on Linux/Unix systems (#194) Previously the hidden file filter only checked the Windows hidden attribute, leaving Unix/Linux dotfiles (starting with '.') always visible regardless of the "show hidden files" setting. - Rename isWindowsHiddenFile to isHiddenFile with both checks - Add dotfile detection (name.startsWith('.')) - Keep backward-compatible alias for isWindowsHiddenFile - Update filterHiddenFiles to use the new isHiddenFile function * fix: limit dotfile filtering to remote connections only Address review feedback: dotfile filtering was applied unconditionally, which would hide .gitignore, .env, etc. on local Windows panes. - Add isLocal param to isHiddenFile/filterHiddenFiles - When isLocal=true, only check Windows hidden attribute - When isLocal=false (remote SFTP), also filter dotfiles - Update all 3 callers to pass connection.isLocal - Fix useMemo dependency arrays * fix: preserve isWindowsHiddenFile backward compatibility isWindowsHiddenFile alias now explicitly passes isLocal=true to isHiddenFile, so existing callers that don't pass isLocal won't accidentally filter dotfiles.