You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added type guards for MemoryFileSystem and name property to MemoryFile class (#1574)
* fix: _strip_protocol to stringify path
* Use rsplit instead of split for name in MemoryFile
* Added test, altered _strip_protocol to correct windows paths
* Removed redundant check from prior commit
* fix liint issues
* Update fsspec/implementations/tests/test_memory.py
Co-authored-by: Martin Durant <[email protected]>
* Rolled back name property in MemoryFileSystem
* Update fsspec/implementations/memory.py
Co-authored-by: Martin Durant <[email protected]>
* Changed memory file system to only accept PurePosixPath
* Handle PureWindowsPath in memfs
* Separated path tests to be platform specific, allowed for c:/ to show in memoryfs paths
* formatted code using black
* Moved imports in test_memory to fix lint issues
* Fixed import order in memory.py
---------
Co-authored-by: Martin Durant <[email protected]>
0 commit comments