-
Notifications
You must be signed in to change notification settings - Fork 380
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
Proposal: (*File) ReadAt(b []byte, off int64) (n int, err error) #199
Comments
Sorry for the long silence on this. Being a feature request for the client, I put it on the back burner and kind of forgot it was there.
I think it would be possible as it seems like the protocol would support it.
I have no immediate plans to implement it and I'm currently the primary active developers. My focus is more on the server, more so than the client. I've been fixing bugs in the client, but hadn't given much thoughts to extending it. But I'm always open to pull requests, particularly for the client. |
This would be quite nice. ZIP package requires it to be able to decode the stream instead of having to download locally, then decode. |
Isn't it possible just with a |
This has been fixed by #285, right? |
🤦♀️ yes. |
I'm missing this particular interface for reading zip archives from sftp.
Its part of os.File implemented interfaces and seems like its doable, can judge only quickly running through the code.
Is there any reasoning why its impossible/not needed?
Also after searching through issues seems like its planned?
The text was updated successfully, but these errors were encountered: