On 11/01/2021 8:26 pm, Glyph wrote:
seems somewhat irrelevant to the "asynchronous filesystem" part of this PR - do you think you could do a smaller version of this which decouples it from smb and ctypes?
but yes both can be spun out easily, so it's just the interface and a plain portable threads-based implementation. Where in the twisted tree should the interface and implementation go?
(It would also be nice to have an interface that acts as an IProducer to integrate more natively with Twisted's support for backpressure rather than only having a custom readChunk method. I think readChunk is still necessary for completeness since you need to be able to seek and offset, though.)
certainly will look at this. It fits well with FTP's filesystem interaction.
OK this is done. I have changed the name to "asyncfs" in the hope this is more informative.