# Elixir v1.10.3 File.Stream View Source

Defines a `File.Stream` struct returned by `File.stream!/3`.

The following fields are public:

- `path` - the file path
- `modes` - the file modes
- `raw` - a boolean indicating if bin functions should be used
- `line_or_bytes` - if reading should read lines or a given number of bytes

# Link to this section Summary

## Types

t()

# Link to this section Types

Link to this type

# t()

View Source

## Specs

    t() :: %File.Stream{
      line_or_bytes: term(),
      modes: term(),
      path: term(),
      raw: term()
    }