Lines Matching refs:linkname
74 LENGTH_LINK = 100 # maximum length of a linkname
932 self.linkname = "" # link name
943 # In pax headers the "name" and "linkname" field are called
952 return self.linkname
953 def _setlinkpath(self, linkname):
954 self.linkname = linkname
972 "linkname": self.linkname,
982 for key in ("name", "linkname", "uname", "gname"):
1007 if len(info["linkname"]) > LENGTH_LINK:
1008 raise ValueError("linkname is too long")
1021 if len(info["linkname"]) > LENGTH_LINK:
1022 buf += self._create_gnu_long_header(info["linkname"], GNUTYPE_LONGLINK)
1040 ("name", "path", LENGTH_NAME), ("linkname", "linkpath", LENGTH_LINK),
1115 stn(info.get("linkname", ""), 100),
1213 obj.linkname = nts(buf[157:257])
1303 next.linkname = nts(buf)
1852 linkname = ""
1862 linkname = self.inodes[inode]
1875 linkname = os.readlink(name)
1895 tarinfo.linkname = linkname
1937 print "->", tarinfo.linkname,
1939 print "link to", tarinfo.linkname,
2081 tarinfo._link_target = os.path.join(path, tarinfo.linkname)
2155 self._dbg(1, "%s -> %s" % (tarinfo.name, tarinfo.linkname))
2246 os.symlink(tarinfo.linkname, targetpath)
2400 linkname = "/".join(filter(None, (os.path.dirname(tarinfo.name), tarinfo.linkname)))
2405 linkname = tarinfo.linkname
2408 member = self._getmember(linkname, tarinfo=limit, normalize=True)
2410 raise KeyError("linkname %r not found" % linkname)