pyftpdlib icon indicating copy to clipboard operation
pyftpdlib copied to clipboard

IO methods used for pyftpdlib.filesystems.AbstractedFS.open()?

Open Perzan opened this issue 4 years ago • 1 comments

While trying to implement an AbstractedFS, I have come across the open() method. So far, for the requested mode, I have the following methods/properties implemented:

  • read
  • write
  • close
  • closed

I am trying to avoid doing anything extra when unnecessary. This is for version 1.5.x. Can I have a link or the name of the file/submodule that uses pyftpdlib.filesystems.AbstractedFS.open?

Is there a "checklist" developers can refer to in order to not only make sure that they have properly implemented all the top-level methods/properties of pyftpdlib.filesystems.AbstractedFS.open, but also the objects returned by them (for example the presumed file-like object that would be returned when pyftpdlib.filesystems.AbstractedFS.open is called)?

Perzan avatar Apr 26 '21 19:04 Perzan

Legitimate request. I think it makes sense to document them. Re-opening this for when I will find some time to do it.

giampaolo avatar Apr 30 '21 14:04 giampaolo