bsoneach v0.3.2 BSONEach.File
This module provides helper functions to correctly open files for BSONEach.
Basically, it contains alias functions to File
module with performance-tested modes.
Examples
"sample.bson"
|> BSONEach.File.open
"sample.bson"
|> BSONEach.File.stream
Summary
Functions
Specs
open(File.Path.t) ::
{:ok, File.res} |
{:error, File.posix}
open(File.Path.t) ::
File.Stream.t |
{:error, String.t}
Opens the given path
.