doc update deprecated documentation of FileIO (#21860)
This commit is contained in:
parent
e0a062dd72
commit
a5e94dd3ed
2 changed files with 6 additions and 6 deletions
|
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue