git ssb

2+

Dominic / pull-stream



Commit cf6dae10be15f44c4b87eef420bdf7b98fdee233

Fixes typos introduced whilst fixing spag in example

Harry Sarson authored on 9/6/2017, 10:05:42 PM
GitHub committed on 9/6/2017, 10:05:42 PM
Parent: ded471b9e785f697c3a6a49c606ce9dd88987405

Files changed

docs/examples.mdchanged
docs/examples.mdView
@@ -28,16 +28,16 @@
2828 and you must design your system to recover if the download
2929 fails. (For example if the wifi were to cut out).
3030
3131 The read stream is just the http download, and the sink
32-writes it to a tempory file. If the source ends normally,
33-the tempory file is moved to the correct location.
34-If the source errors, the tempory file is deleted.
32 +writes it to a temporary file. If the source ends normally,
33 +the temporary file is moved to the correct location.
34 +If the source errors, the temporary file is deleted.
3535
3636 (You could also write the file to the correct location,
37-and delete it if it errors, but the tempory file method has the advantage
38-that if the computer or process crashes it leaves only a tempory file
39-and not a file that appears valid. Stray tempory files can be cleaned up
37 +and delete it if it errors, but the temporary file method has the advantage
38 +that if the computer or process crashes it leaves only a temporary file
39 +and not a file that appears valid. Stray temporary files can be cleaned up
4040 or resumed when the process restarts.)
4141
4242 # A sink that may fail
4343
@@ -86,7 +86,7 @@
8686 Therefore, as it is better to have one callback at the sink, wait until the source
8787 has finished cleaning up before callingback to the pink with an error.)
8888
8989 In some cases you may want the stream to continue, and the the through stream can just ignore
90-an any linesthat do not parse. An example where you definately
90 +an any lines that do not parse. An example where you definately
9191 want a through stream to abort on invalid input would be an encrypted stream, which
9292 should be broken into chunks that are encrypted separately.

Built with git-ssb-web