- Index
- »
- io
- »
- func:ioAppend
def
func:ioAppend
ioAppend(handle)
Convert a handle to append mode. Writes will append to the end of the file instead of rewriting the file. Raises UnsupportedErr if the handle doesn't support append mode.
Example:
ioWriteStr("append a line\n", ioAppend(`io/foo.txt`))