google / codesearch

Fast, indexed regexp search over large file trees

Home Page:http://swtch.com/~rsc/regexp/regexp4.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I tell cindex to ignore certain folders? (such as logs/, *.log, tmp/ etc.)

GoogleCodeExporter opened this issue · comments

See summary above.

Original issue reported on code.google.com by simon.w...@gmail.com on 21 Jan 2013 at 12:33

BTW your request was implemented in a fork I maintain at 

https://github.com/junkblocker/codesearch 

if you are still interested.

Original comment by manpreet...@gmail.com on 28 Mar 2014 at 11:58

  • Added labels: ****
  • Removed labels: ****
There's no support for negative patterns, but you can prepare the list of files 
or directories you want indexed in any manner and then pass it to cindex as 
multiple arguments.


Original comment by rsc@golang.org on 31 Jan 2013 at 2:13

  • Added labels: ****
  • Removed labels: ****
Ah, that's a shame. That makes it pretty well unusable for me.

Original comment by simon.w...@gmail.com on 31 Jan 2013 at 3:30

  • Added labels: ****
  • Removed labels: ****