Module broot::content_search
source · Re-exports§
pub use crate::content_type;
pub use crate::content_type::extensions;
pub use crate::content_type::magic_numbers;
Structs§
- The
BufReader<R>
struct adds buffering to any reader. - a displayable representation of where the needle was found, with some text around
- a strict (non fuzzy, case sensitive) pattern which may be searched in file contents
Enums§
- result of a full text search
Constants§
Traits§
- A
BufRead
is a type ofRead
er which has an internal buffer, allowing it to perform extra ways of reading.
Functions§
- return the memmap to the file except if it was determined that the file is binary (from its extension, size, or first bytes) or is too big
- return true when the file looks suitable for searching as text.
- Return the 1-indexed line number for the byte at position pos