Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Functions | |
def | copyfileobj |
def | copyfile |
def | copymode |
def | copystat |
def | copy |
def | copy2 |
def | copytree |
def | rmtree |
Variables | |
list | __all__ |
Utility functions for copying files and directory trees. XXX The functions here don't copy the resource fork or other metadata on Mac.
def shutil.copy | ( | src, | |
dst | |||
) |
Copy data and mode bits ("cp src dst"). The destination may be a directory.
Definition at line 54 of file shutil.py.
References copyfile(), and copymode().
def shutil.copy2 | ( | src, | |
dst | |||
) |
Copy data and all stat info ("cp -p src dst"). The destination may be a directory.
Definition at line 65 of file shutil.py.
References copyfile(), and copystat().
def shutil.copyfile | ( | src, | |
dst | |||
) |
Copy data from src to dst
Definition at line 23 of file shutil.py.
References copyfileobj(), and aifc.open().
def shutil.copyfileobj | ( | fsrc, | |
fdst, | |||
length = 16*1024 |
|||
) |
def shutil.copymode | ( | src, | |
dst | |||
) |
def shutil.copystat | ( | src, | |
dst | |||
) |
Copy all stat info (mode bits, atime and mtime) from src to dst
Definition at line 44 of file shutil.py.
References stat.S_IMODE().
def shutil.copytree | ( | src, | |
dst, | |||
symlinks = 0 |
|||
) |
Recursively copy a directory tree using copy2(). The destination directory must not already exist. Error are reported to standard output. If the optional symlinks flag is true, symbolic links in the source tree result in symbolic links in the destination tree; if it is false, the contents of the files pointed to by symbolic links are copied. XXX Consider this example code rather than the ultimate tool.
Definition at line 77 of file shutil.py.
References copy2(), and locale.str().
def shutil.rmtree | ( | path, | |
ignore_errors = 0 , |
|||
onerror = None |
|||
) |