You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pi-fff: Support enableHomeDirScanning / enableFsRootScanning to allow indexing home and root directories #588
The @ff-labs/fff-nodeFileFinder.create() API supports enableHomeDirScanning: true and enableFsRootScanning: true options to opt into indexing home directories (~) and the filesystem root (/). Without these flags, fff refuses to initialize:
"Can not run certain FFF features in a file system root or home directories. Consider smaller per-project directories."
However, the pi-fff extension (packages/pi-fff/src/index.ts) does not expose these options. The ensureFinder function always creates the finder with aiMode: true and no overrides, making it impossible to use fffind/ffgrep when pi is launched from ~ or /.
Proposed Solution
Expose enableHomeDirScanning and enableFsRootScanning to pi-fff users. Options:
Activity
feat(pi-fff): expose enableFsRootScanning flag (#588) (#589)
feat(pi-fff): expose enableFsRootScanning flag (dmtrKovalenko#588) (d…