Package pysys :: Package utils :: Module filecopy
[hide private]
[frames] | no frames]

Module filecopy

source code

Functions [hide private]
 
copyfileobj(fsrc, fdst, length=16384)
Internal method to read bytes from a source file descriptor, and write to a destination file descriptor.
source code
 
filecopy(src, dst)
Copy source file to a destination file.
source code
Variables [hide private]
  __package__ = 'pysys.utils'
Function Details [hide private]

copyfileobj(fsrc, fdst, length=16384)

source code 

Internal method to read bytes from a source file descriptor, and write to a destination file descriptor.

Parameters:
  • fsrc - The source file descriptor
  • fdst - The destination file descriptor
  • length - The buffer length to read from the src and write to the destination

filecopy(src, dst)

source code 

Copy source file to a destination file.

Parameters:
  • src - Full path to the source filename
  • dst - Full path the destination filename
Raises: