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

feat: handle absolute and relative paths as expected #32

Merged
merged 2 commits into from
Jan 18, 2023
Merged

Commits on Dec 28, 2022

  1. feat: use zap everywhere

    ZinoKader committed Dec 28, 2022
    Configuration menu
    Copy the full SHA
    4de20b5 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. bugfix: handle absolute and relative paths as expected (#31)

    * chore: ignore .vscode folder
    
    * feat: handle absolute and relative paths as expected
    
    Previous behavior would take the absolute or relative path and
    expand the directory structure onto the receiver. This is not what
    one expects when for instance sending files using the absolute path
    "portal send /home/zinokader/data/somefile.txt", which previously would
    actually try to recreate the same directory structure "/home/zinokader..."
    on the receiver end.
    
    Now, we handle absolute paths by sending the last directory or file
    (and its subfiles/subdirectories), this means "/home/zinokader/folder"
    will just send and expand "folder" and all of its contents on the receiving end.
    ZinoKader committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    130953d View commit details
    Browse the repository at this point in the history