doc update deprecated documentation of FileIO (#21860)

This commit is contained in:
Nafer Sanabria 2016-11-18 04:28:47 -05:00 committed by Konrad Malawski
parent e0a062dd72
commit a5e94dd3ed
2 changed files with 6 additions and 6 deletions

View file

@ -510,14 +510,14 @@ File IO Sinks and Sources
-------------------------
Sources and sinks for reading and writing files can be found on ``FileIO``.
fromFile
fromPath
^^^^^^^^
Emit the contents of a file, as ``ByteString`` s, materializes into a ``CompletionStage`` which will be completed with
a ``IOResult`` upon reaching the end of the file or if there is a failure.
toFile
toPath
^^^^^^
Create a sink which will write incoming ``ByteString`` s to a given file.
Create a sink which will write incoming ``ByteString`` s to a given file path.