The current implementation of fs.base.FS.islink is the following:
def islink(self, path):
self.getinfo(path)
return False
Because of this, and contrary to FS.isdir and FS.isfile, a filesystem implementation simply relying on the type attribute in the details namespace of getinfo to convey a file type will not work. This probably affects TarFS in this library.
The current implementation of
fs.base.FS.islinkis the following:Because of this, and contrary to
FS.isdirandFS.isfile, a filesystem implementation simply relying on thetypeattribute in thedetailsnamespace ofgetinfoto convey a file type will not work. This probably affectsTarFSin this library.