Michael Gold mg...@ncf.ca added the comment:
No, I don't have a working implementation. (I basically reimplemented
TarFile.inodes to work around this; I was using TarFile.dereference, so I
already had to do the hard-linking manually.)
--
nosy: +mgold
Lars Gustäbel l...@gustaebel.de added the comment:
Good point. Do you happen to have a working implementation already?
--
assignee: - lars.gustaebel
priority: normal - low
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
New submission from Michael Gold mg...@qnx.com:
When I call tar.gettarinfo (where tar is a TarFile instance), the inode
information is inserted into tar.inodes. If I later call tar.gettarinfo on a
linked file, the returned TarInfo will have type LNKTYPE.
I think it's incorrect to store this
Michael Gold mg...@qnx.com added the comment:
Actually, TarFile should also have a separate method to take a TarInfo instance
and modify its type to LNKTYPE if applicable. gettarinfo can call that.
This way the user can use a TarInfo object created before any files are added,
and can easily