59
57
return LocalTransport(self.abspath(offset))
61
59
def abspath(self, relpath):
63
63
assert isinstance(relpath, basestring), (type(relpath), relpath)
69
66
def relpath(self, abspath):
70
67
"""Return the local path portion from a given absolute path.
80
77
return os.access(self.abspath(relpath), os.F_OK)