Skip to content
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

Adjusted local-to-remote copy with folders #308

Merged
merged 1 commit into from
Dec 8, 2023

Commits on Dec 8, 2023

  1. Adjusted local-to-remote copy with folders

    The local-to-remote copy was failing when trying to copy a folder with
    multiple files, as only the first file was actually tansferred. This
    commit solves this issue by modifying the `aiotarstream` module to deal
    with `tell` and `seek` operations, allowing to position the stream
    pointer in the correct position.
    
    In detail, two new classes have been implemented:
    
    - `TellableStreamWrapper`, which keeps track of the actual stream
       pointer position;
    - `SeekableStreamReaderWrapper`, which allows forward seek operations
      in a stream reader.
    
    Note that these classes are internal to the `aiotarstram` module, so
    nothing changes in the publicly exposed API.
    GlassOfWhiskey committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    fcd2b1d View commit details
    Browse the repository at this point in the history