Module broot::content_search

source ·

Re-exports§

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§

Constants§

Traits§

  • A BufRead is a type of Reader 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