Module broot::content_search[][src]

Structs

BufReader

The BufReader<R> struct adds buffering to any reader.

ContentMatch

a displayable representation of where the needle was found, with some text around

Needle

a strict (non fuzzy, case sensitive) pattern which may be searched in file contents

Enums

ContentSearchResult

result of a full text search

Constants

MAX_FILE_SIZE

Traits

BufRead

A BufRead is a type of Reader which has an internal buffer, allowing it to perform extra ways of reading.

Functions

get_mmap
get_mmap_if_not_binary

return the memmap to the file except if it was determined that the file is binary (from its extension, size, or first bytes)

is_path_binary

return false when the file looks suitable for searching as text.

line_count_at_pos