Types
SameFileError = object of Error
- Source Edit
Procs
proc copyfileobj(s, d: File; length = COPY_BUFSIZE) {. ...raises: [IOError, OSError], tags: [WriteIOEffect, ReadIOEffect], forbids: [].}
-
shutil.copyfileobj but for Nim's File
if length is negative, it means copying the data without looping over the source data in chunks
Source Edit