pyfilesystem2
pyfilesystem2 copied to clipboard
Python's Filesystem abstraction layer
## Type of changes - Bug fix - Tests ## Checklist - [x] I've run the latest [black](https://github.com/ambv/black) with default args on new code. - [x] I've updated CHANGELOG.md and...
As discussed in #542 a file is deleted in some cases when moved onto itself. Working example: ```python from fs import open_fs with open_fs("mem://") as currdir: currdir.writetext("test.txt", "Content") currdir.move("test.txt", "test.txt",...
As suggested in https://github.com/PyFilesystem/pyfilesystem2/pull/542#discussion_r916779643 it might be nice if there was a `some_fs.are_same_path(path1, path2)` function, which would `normpath` each of the paths, and do a case-insensitive string comparison on case-insensitive...
I am wondering if there is support for Azure storage account for blob. Is it possible?
I am trying to create a method to tell if a file/folder is completely copied into a directory by some external user. This is proving to be REALLY difficult. As...
Hi, May I ask your kind help on a dummie question, I am strugling with in related to MemoryFs ? I need to pass a screenshot image to telegram chat,...
Today's release of `fs==2.4.16` introduced an code-breaking change that isn't really documented in the release notes and might be a bug. Here is the code sample that works for `fs
The current copy tree functionalities take in a Walker object, which is good for simple filtering of directories if you want to selectively copy files in a directory. The Walker...
don't know the design choice here, why the underlying mounts var is not implemented as a dict?(performance issue? considering mount points are relatively small list. i think it's better to...
Currently, the example `count_python_loc` is misleading, the normal Python version is way easier than what is suggested, at least if you don't consider Python versions that are end of life...