sftp
sftp copied to clipboard
add CloserListerAt
The ListerAt is stored in the Request state and reused across requests. Some implementations don't store the entire []os.FileInfo buffer in the ListerAt implementation but instead return an open file and get/return []os.FileInfo on request. For these implementation a Close method is required.
The use case is if you want to list a large directory on memory constrained systems.