solong

command module
v0.0.0-...-35718f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: MIT Imports: 7 Imported by: 0

README

Solong

The solong program prints out the paths of all files in the tree rooted at . whose average line lengths are greater than some long threshold like 1000. The purpose of solong is to detect files that would add noise to search results, so you can add those noisy files to your .ignore or .rgignore file. Having done that, ripgrep (rg) will ignore these files, so you can have a greater signal-to-noise ratio in your search results.

Installation

$ go install github.com/ijt/solong@HEAD

Example usage

$ solong >> .rgignore
$ rg 'function'

Documentation

Overview

The solong program prints out the paths of all files in the tree rooted at . whose average line lengths are greater than some long threshold like 1000. The purpose of solong is to detect files that would add noise to search results, so you can add them to your .ignore or .rgignore file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL