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@type t() :: %File.Stream{
line_or_bytes: term(),
modes: term(),
node: term(),
path: term(),
raw: term()
}
© 2012-2024 The Elixir Team
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.18.1/File.Stream.html