2025-06-12 10:45AM
要使用 grep
查找 currentDelegationType
但是需要忽略 node_modules 文件,可以使用 --exclude-dir
选项。
grep "xxxxx" . --exclude-dir=xxxxx
eg:
grep "currentDelegationType" . -r --exclude-dir=node_modules
. 当前目录
-r 递归查找子目录
--exclude-dir= 排除某个目录。
登录
请登录后再发表评论。
评论列表:
目前还没有人发表评论