This commit is contained in:
phiresky 2019-06-13 15:18:14 +02:00
parent d350fc0057
commit d0a1f8962b
2 changed files with 3 additions and 2 deletions

View File

@ -5,9 +5,9 @@ rga is a tool to recursively search for text in many different types of files. I
[![Linux build status](https://api.travis-ci.org/phiresky/ripgrep_all.svg)](https://travis-ci.org/phiresky/ripgrep_all) [![Linux build status](https://api.travis-ci.org/phiresky/ripgrep_all.svg)](https://travis-ci.org/phiresky/ripgrep_all)
[![Crates.io](https://img.shields.io/crates/v/ripgrep_all.svg)](https://crates.io/crates/ripgrep_all) [![Crates.io](https://img.shields.io/crates/v/ripgrep_all.svg)](https://crates.io/crates/ripgrep_all)
# todo # Future Work
- jpg adapter (based on object classification / detection (yolo?)) for fun - photograph adapter (based on object classification / detection (yolo?)) for fun, based on something [like this](https://github.com/aimagelab/show-control-and-tell). Tried, but very hard to integrate (especially state of the art approaches).
- 7z adapter (couldn't find a nice to use rust library) - 7z adapter (couldn't find a nice to use rust library)
# considerations # considerations

View File

@ -49,6 +49,7 @@ pub struct RgaArgs {
/// so users sometimes use any or no extension at all. With this flag, rga /// so users sometimes use any or no extension at all. With this flag, rga
/// will try to detect the mime type of input files using the magic bytes /// will try to detect the mime type of input files using the magic bytes
/// (similar to the `file` utility), and use that to choose the adapter. /// (similar to the `file` utility), and use that to choose the adapter.
/// Detection is only done on the first 8KiB of the file, since we can't always seek on the input (in archives).
pub accurate: bool, pub accurate: bool,
#[serde(default, skip_serializing_if = "is_default")] #[serde(default, skip_serializing_if = "is_default")]