Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make hasher work with symlinks #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Apr 14, 2021

  1. Make hasher work with symlinks

    Marc-André Aßbrock authored and dragetd committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    fe5d815 View commit details
    Browse the repository at this point in the history
  2. Enable hashing symlinks

    Example output:
    ```
    INFO[0000] Hashing directory.                            hashesFile=x/bundleinfo.json pathToHash=x/ uniqueBundleName=x
    INFO[0000] Hash "x/".
    WARN[0000] File "x/foo"->"x/x2" is a symlink, will be treated as a regular file/dir.
    INFO[0000] Finished hasher.
    ``
    
    Symlinks with targets not within the hash directory are not allowed and cause a panic.
    dragetd committed Apr 14, 2021
    Configuration menu
    Copy the full SHA
    146ecad View commit details
    Browse the repository at this point in the history