-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZipFS has a syspath
and ospath
#528
Comments
Do you fancy submitting a suitable PR? |
Sure, no problem. |
Ah, okay, I see what i was talking about in #523, but I'm not entirely sure this current situation here is to be treated as a bug. When you open a Zip file, you get a So if the temporary filesystem is a temp folder, it makes sense that you have a syspath. It also enables efficient copying / moving files that are going to be compressed. There will be no syspath in the event where you use a temporary filesystem in memory to prepare the archive: zip_fs = fs.zipfs.WriteZipFS("/tmp/test.zip", temp_fs="mem://") |
I see! Then the question is what went wrong with ZipFS in my optimization tests. I'll try to reproduce it. |
Closing this as a non-issue. ZipFS having a syspath when wrapping a temp filesystem is fine. |
As discussed in #523, normally ZipFS should have no syspath and a
NoSysPath
exception should be raised.The text was updated successfully, but these errors were encountered: