MCPcopy Create free account
hub / github.com/codeHappyDananx/SpecWave / hideFile

Function hideFile

electron/main.js:1125–1132  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

1123}
1124
1125function hideFile(filePath) {
1126 if (!IS_WINDOWS) return
1127 try {
1128 spawnSync('attrib', ['+h', filePath], { windowsHide: true })
1129 } catch {
1130 // ignore attrib failures
1131 }
1132}
1133
1134function normalizeShell(shell) {
1135 if (!shell) return DEFAULT_SHELL

Callers 2

ensurePasteDirectoryFunction · 0.85
saveClipboardImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected