On this page
File.Stream
Defines a File.Stream
struct returned by File.stream!/3
.
The following fields are public:
path
- the file pathmodes
- the file modesraw
- a boolean indicating if bin functions should be usedline_or_bytes
- if reading should read lines or a given number of bytesnode
- the node the file belongs to
Types
t()Source
@type t() :: %File.Stream{
line_or_bytes: term(),
modes: term(),
node: term(),
path: term(),
raw: term()
}
© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.15.4/File.Stream.html