File.Stream

File.Stream

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 amount of bytes

Summary

Types

t()

Types

t()

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

© 2012–2017 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/elixir/1.4.5/File.Stream.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部