method: path.local.copy

*Not documented*
    def copy(self, target, archive=False):

origin: path.local

where:

function source:

def copy(self, target, archive=False):
    assert not archive, "XXX archive-mode not supported"
    if self.check(file=1):
        if target.check(dir=1):
            target = target.join(self.basename)
        assert self!=target
        copychunked(self, target)
    else:
        target.ensure(dir=1)
        def rec(p):
            return p.check(link=0)
        for x in self.visit(rec=rec):
            relpath = x.relto(self)
            newx = target.join(relpath)
            if x.check(link=1):
                newx.mksymlinkto(x.readlink())
            elif x.check(file=1):
                copychunked(x, newx)
            elif x.check(dir=1):
                newx.ensure(dir=1)

call sites:

called in /home/johnny/projects/merlinux/py/dist/py/rest/convert.py

traceback path.local.copy.0

called in /home/johnny/projects/merlinux/py/dist/py/rest/convert.py

traceback path.local.copy.1

called in /home/johnny/projects/merlinux/py/dist/py/rest/convert.py

traceback path.local.copy.2

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py

traceback path.local.copy.3

called in /home/johnny/projects/merlinux/py/dist/py/rest/convert.py

traceback path.local.copy.4

called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/svntestbase.py

traceback path.local.copy.5

called in /home/johnny/projects/merlinux/py/dist/py/test/testing/test_collect.py

traceback path.local.copy.6

called in /home/johnny/projects/merlinux/py/dist/py/path/testing/fscommon.py

traceback path.local.copy.7

called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py

traceback path.local.copy.8

called in /home/johnny/projects/merlinux/py/dist/py/path/svn/testing/svntestbase.py

traceback path.local.copy.9

called in /home/johnny/projects/merlinux/py/dist/py/documentation/test_conftest.py

traceback path.local.copy.10

called in /home/johnny/projects/merlinux/py/dist/py/rest/convert.py

traceback path.local.copy.11